diff --git a/components/PrescriptionCreator/MedicineForm.tsx b/components/PrescriptionCreator/MedicineForm.tsx index 683d246..47e7bf3 100644 --- a/components/PrescriptionCreator/MedicineForm.tsx +++ b/components/PrescriptionCreator/MedicineForm.tsx @@ -85,7 +85,7 @@ export const MedicineForm: React.FC = ({ handleTextChange('directions', text)} /> diff --git a/components/PrescriptionCreator/PatientForm.tsx b/components/PrescriptionCreator/PatientForm.tsx index 2bb5bc8..1e87a72 100644 --- a/components/PrescriptionCreator/PatientForm.tsx +++ b/components/PrescriptionCreator/PatientForm.tsx @@ -62,7 +62,7 @@ export const PatientForm: React.FC = ({ 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()); diff --git a/components/PrescriptionCreator/index.tsx b/components/PrescriptionCreator/index.tsx index 1f808a8..58f6e1c 100644 --- a/components/PrescriptionCreator/index.tsx +++ b/components/PrescriptionCreator/index.tsx @@ -176,7 +176,7 @@ export const PrescriptionCreator = () => {
-
+