Merged in fix/dob-edit (pull request #536)
fix: default dob in zod schema Approved-by: Arvid Norlin
This commit is contained in:
@@ -60,7 +60,7 @@ export default function Form({ user }: EditFormProps) {
|
||||
streetAddress: user.address.streetAddress ?? "",
|
||||
zipCode: user.address.zipCode ?? "",
|
||||
},
|
||||
dateOfBirth: user.dateOfBirth ?? "1900-01-01",
|
||||
dateOfBirth: user.dateOfBirth,
|
||||
email: user.email,
|
||||
language: user.language ?? langToApiLang[lang],
|
||||
phoneNumber: phoneInput,
|
||||
|
||||
Reference in New Issue
Block a user