is not even saving the inputs
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user