fix: remove gender from user profile since it is removed in the api
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { countriesMap } from "@/components/TempDesignSystem/Form/Country/countries"
|
||||
import { z } from "zod"
|
||||
|
||||
import { countriesMap } from "@/components/TempDesignSystem/Form/Country/countries"
|
||||
|
||||
export const getUserSchema = z.object({
|
||||
address: z.object({
|
||||
city: z.string().optional(),
|
||||
@@ -10,7 +11,6 @@ export const getUserSchema = z.object({
|
||||
}),
|
||||
dateOfBirth: z.string(),
|
||||
email: z.string().email(),
|
||||
gender: z.string(),
|
||||
name: z.string(),
|
||||
language: z.string(),
|
||||
lastName: z.string(),
|
||||
|
||||
Reference in New Issue
Block a user