From 6ab79845f23646a24db29f278003e53be4d32678 Mon Sep 17 00:00:00 2001
From: Mohamed Bassem <me@mbassem.com>
Date: Fri, 28 Nov 2025 21:04:57 +0000
Subject: fix: fix react errors in signin and signup forms

---
 apps/web/components/signup/SignUpForm.tsx | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'apps/web/components/signup/SignUpForm.tsx')

diff --git a/apps/web/components/signup/SignUpForm.tsx b/apps/web/components/signup/SignUpForm.tsx
index 85346f98..a1e8dadf 100644
--- a/apps/web/components/signup/SignUpForm.tsx
+++ b/apps/web/components/signup/SignUpForm.tsx
@@ -38,6 +38,12 @@ const VERIFY_EMAIL_ERROR = "Please verify your email address before signing in";
 export default function SignUpForm() {
   const form = useForm<z.infer<typeof zSignUpSchema>>({
     resolver: zodResolver(zSignUpSchema),
+    defaultValues: {
+      email: "",
+      name: "",
+      password: "",
+      confirmPassword: "",
+    },
   });
   const [errorMessage, setErrorMessage] = useState("");
   const router = useRouter();
-- 
cgit v1.2.3-70-g09d2

