fixed NewReport form
This commit is contained in:
@@ -40,9 +40,11 @@ export const NewReportForm = ({
|
||||
defaultValues: {
|
||||
reportedUserId: defaultValues?.reportedUserId || "",
|
||||
senderUserId: session.data?.user.id || "",
|
||||
reviewerComment: null,
|
||||
reviewerUserId: null,
|
||||
},
|
||||
});
|
||||
|
||||
console.log(form.formState.errors);
|
||||
return (
|
||||
<form
|
||||
className="flex flex-wrap gap-3"
|
||||
|
||||
Reference in New Issue
Block a user