Console Error

A param property was accessed directly with `params.id`.
This commit is contained in:
Leon Serfaty G
2025-07-18 08:18:44 +00:00
parent 7c0ce2cdbb
commit caff416826
-1
View File
@@ -10,7 +10,6 @@ import { Label } from '@/components/ui/label';
import { Textarea } from '@/components/ui/textarea'; import { Textarea } from '@/components/ui/textarea';
import { Button } from '@/components/ui/button'; import { Button } from '@/components/ui/button';
import { useToast } from '@/hooks/use-toast'; import { useToast } from '@/hooks/use-toast';
import { Alert, AlertDescription } from '@/components/ui/alert';
function SubmitButton() { function SubmitButton() {
// useFormStatus is not used here because we are not in a form, but we can simulate the pending state // useFormStatus is not used here because we are not in a form, but we can simulate the pending state