Console Error
A param property was accessed directly with `params.id`.
This commit is contained in:
@@ -10,7 +10,6 @@ import { Label } from '@/components/ui/label';
|
||||
import { Textarea } from '@/components/ui/textarea';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { useToast } from '@/hooks/use-toast';
|
||||
import { Alert, AlertDescription } from '@/components/ui/alert';
|
||||
|
||||
function SubmitButton() {
|
||||
// useFormStatus is not used here because we are not in a form, but we can simulate the pending state
|
||||
|
||||
Reference in New Issue
Block a user