diff --git a/routes/~_dashboard/~patients/~$id/~index.tsx b/routes/~_dashboard/~patients/~$id/~index.tsx index bf765995..8c4607de 100644 --- a/routes/~_dashboard/~patients/~$id/~index.tsx +++ b/routes/~_dashboard/~patients/~$id/~index.tsx @@ -109,7 +109,7 @@ const PatientPage = () => { invitationCode: form.invitationCode, clinician: form.clinician, organization: clinician.organization, - dateOfBirth: form.dateOfBirth?.toISOString(), + dateOfBirth: form.dateOfBirth?.toISOString() ?? null, } if (resourceType === 'user') { await callables.updateUserInformation({