You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I get the following error sometimes before or after I submit the form
`import * as z from "zod";
export const signupSchema = z.object({
firstName: z.string().min(2, "First name must be at least 2 characters"),
lastName: z.string().min(2, "Last name must be at least 2 characters"),
email: z.string().email("Invalid email address"),
password: z.string().min(6, "Password must be at least 6 characters"),
});
export type SignupValues = z.infer;
`
The text was updated successfully, but these errors were encountered:
import{z}from"zod";exportconstsignupSchema=z.object({firstName: z.string().min(2,"First name must be at least 2 characters"),lastName: z.string().min(2,"Last name must be at least 2 characters"),email: z.string().email("Invalid email address"),password: z.string().min(6,"Password must be at least 6 characters"),});exporttypeSignupValues=z.infer<typeofsignupSchema>;
Working with react19 on nextjs 15
But I get the following error sometimes before or after I submit the form
`import * as z from "zod";
export const signupSchema = z.object({
firstName: z.string().min(2, "First name must be at least 2 characters"),
lastName: z.string().min(2, "Last name must be at least 2 characters"),
email: z.string().email("Invalid email address"),
password: z.string().min(6, "Password must be at least 6 characters"),
});
export type SignupValues = z.infer;
`
The text was updated successfully, but these errors were encountered: