is not even saving the inputs

This commit is contained in:
Leon Serfaty G
2025-07-17 11:38:42 +00:00
parent bb11434141
commit 549f189370
2 changed files with 3 additions and 10 deletions
-7
View File
@@ -1,4 +1,3 @@
"use client";
import { useForm, type SubmitHandler } from "react-hook-form";
@@ -42,12 +41,6 @@ export default function UserProfilePage() {
formState: { errors, isDirty },
} = useForm<UserProfileFormValues>({
resolver: zodResolver(userProfileSchema),
defaultValues: {
name: "",
email: "",
password: "",
confirmPassword: ""
}
});
useEffect(() => {