Code: Select all
const form = useForm({
resolver: zodResolver(AuthSchema),
defaultValues: {
email: "",
password: "",
},
mode: "all",
});
{/* Email */}
(
Email
)}
/>
{/* Password */}
(
Password
)}
/>
{isLoading ? : "Continue"}
Code: Select all
const form = useForm({
resolver: zodResolver(AuthSchema),
defaultValues: {
email: "",
password: "",
},
mode: "all",
});
{/* Email */}
(
Email
)}
/>
{/* Password */}
(
Password
)}
/>
{isLoading ? : "Continue"}