fix: remove gender from user profile since it is removed in the api

This commit is contained in:
Arvid Norlin
2024-04-24 16:21:17 +02:00
parent ddcebdfbbb
commit 1ec86f43ff

View File

@@ -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(),