refactor(SW-649): reusable getDaysInMonth function

This commit is contained in:
Chuma McPhoy
2024-10-29 15:23:36 +01:00
parent 6a31aca0b1
commit 7ed2e1d5d0
2 changed files with 17 additions and 10 deletions

View File

@@ -16,7 +16,9 @@ export const signUpSchema = z.object({
"Phone is required",
"Please enter a valid phone number"
),
dateOfBirth: z.string().min(1),
dateOfBirth: z.string().min(1, {
message: "Date of birth is required",
}),
address: z.object({
countryCode: z
.string({