Fix typos, bugs

This commit is contained in:
Abhay
2025-01-06 11:52:09 +05:30
parent 58f145859a
commit d0dac925e9
3 changed files with 3 additions and 3 deletions

View File

@@ -62,7 +62,7 @@ export const PatientForm: React.FC<PatientFormProps> = ({
modal
mode={'date'}
open={openDate}
date={new Date(form.date_of_birth || '01-01-1999')}
date={new Date(form.date_of_birth || '1990-01-01')}
onCancel={() => setOpenDate(false)}
onConfirm={(date: Date) => {
handleTextChange('date_of_birth', date.toDateString());