From ca45bf9a7101dbc3b2fbfd7376480d1dd91a4bc7 Mon Sep 17 00:00:00 2001 From: Shubham Agrawal Date: Fri, 27 Sep 2024 19:04:21 +0530 Subject: [PATCH] Changed minimum possible date --- src/pages/MissingPersonalDetails/substeps/DateOfBirth.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/MissingPersonalDetails/substeps/DateOfBirth.tsx b/src/pages/MissingPersonalDetails/substeps/DateOfBirth.tsx index 8dbe2e86e7ee..f9b54c1b4758 100644 --- a/src/pages/MissingPersonalDetails/substeps/DateOfBirth.tsx +++ b/src/pages/MissingPersonalDetails/substeps/DateOfBirth.tsx @@ -22,7 +22,7 @@ function DateOfBirthStep({isEditing, onNext, personalDetailsValues}: CustomSubSt const styles = useThemeStyles(); const minDate = subYears(new Date(), CONST.DATE_BIRTH.MAX_AGE); - const maxDate = subYears(new Date(), CONST.DATE_BIRTH.MIN_AGE); + const maxDate = subYears(new Date(), CONST.DATE_BIRTH.MIN_AGE_FOR_PAYMENT); const handleSubmit = usePersonalDetailsFormSubmit({ fieldIds: STEP_FIELDS,