Updated libs - Updated Zod v3 to v4.
This commit is contained in:
1 parent
0efe5bfa9e
commit
984c386588
5 files changed
+25
-15
No files matched your search
@@ -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