Updated libs - Updated Zod v3 to v4.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
"use client";
|
||||
|
||||
import { z } from "zod";
|
||||
import { z } from "zod/v4";
|
||||
|
||||
export const BookingFormSchema = z.object({
|
||||
name: z.string().min(2).max(50),
|
||||
surname: z.string().min(2).max(50),
|
||||
email: z.string().email(),
|
||||
email: z.email(),
|
||||
phone: z.string().min(8),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user