@@ -1,3 +1,4 @@
|
||||
import { createOperationKey } from '@/lib/operation-key';
|
||||
import { useForm } from '@inertiajs/react';
|
||||
import { card, input, button } from '@/pages/investment/shared';
|
||||
|
||||
@@ -197,7 +198,7 @@ export function RequestOperations({
|
||||
occurred_at: '',
|
||||
summary: '',
|
||||
evidence: '',
|
||||
client_key: crypto.randomUUID(),
|
||||
client_key: createOperationKey(),
|
||||
});
|
||||
return (
|
||||
<section className="space-y-3">
|
||||
@@ -433,7 +434,7 @@ export function RequestOperations({
|
||||
communication.reset('summary', 'evidence');
|
||||
communication.setData(
|
||||
'client_key',
|
||||
crypto.randomUUID(),
|
||||
createOperationKey(),
|
||||
);
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user