@@ -1,3 +1,4 @@
|
||||
import { createOperationKey } from '@/lib/operation-key';
|
||||
import { Link, useForm } from '@inertiajs/react';
|
||||
import { useState } from 'react';
|
||||
import {
|
||||
@@ -22,7 +23,7 @@ type Props = Catalogues & {
|
||||
};
|
||||
function Editor(p: Props) {
|
||||
const form = useForm({
|
||||
client_key: crypto.randomUUID(),
|
||||
client_key: createOperationKey(),
|
||||
version: p.record?.version ?? null,
|
||||
title: p.record?.title ?? '',
|
||||
offer: p.record?.offer ?? '',
|
||||
|
||||
Reference in New Issue
Block a user