fix: add optional on user country
This commit is contained in:
@@ -5,7 +5,7 @@ import { countriesMap } from "@/components/TempDesignSystem/Form/Country/countri
|
||||
export const getUserSchema = z.object({
|
||||
address: z.object({
|
||||
city: z.string().optional(),
|
||||
country: z.nativeEnum(countriesMap),
|
||||
country: z.nativeEnum(countriesMap).optional(),
|
||||
streetAddress: z.string().optional(),
|
||||
zipCode: z.string(),
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user