From 6ab79845f23646a24db29f278003e53be4d32678 Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Fri, 28 Nov 2025 21:04:57 +0000 Subject: fix: fix react errors in signin and signup forms --- apps/web/components/signin/CredentialsForm.tsx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/web/components/signin/CredentialsForm.tsx') diff --git a/apps/web/components/signin/CredentialsForm.tsx b/apps/web/components/signin/CredentialsForm.tsx index a3b854b7..4a4a0533 100644 --- a/apps/web/components/signin/CredentialsForm.tsx +++ b/apps/web/components/signin/CredentialsForm.tsx @@ -44,6 +44,10 @@ export default function CredentialsForm() { const form = useForm>({ resolver: zodResolver(signInSchema), + defaultValues: { + email: "", + password: "", + }, }); if (clientConfig.auth.disablePasswordAuth) { -- cgit v1.2.3-70-g09d2