@@ -1,3 +1,4 @@
|
||||
import { createOperationKey } from '@/lib/operation-key';
|
||||
import { Head, Link, router, useForm } from '@inertiajs/react';
|
||||
import { useState } from 'react';
|
||||
import type { LegacyArticle } from '@/pages/portal/legacy';
|
||||
@@ -16,7 +17,7 @@ export default function InvestmentContexts({
|
||||
contexts: InvestmentContext[];
|
||||
contentSource?: LegacyArticle;
|
||||
}) {
|
||||
const [key] = useState(() => globalThis.crypto.randomUUID());
|
||||
const [key] = useState(() => createOperationKey());
|
||||
const form = useForm({
|
||||
title: '',
|
||||
client_key: key,
|
||||
|
||||
Reference in New Issue
Block a user