Skip to content

Commit

Permalink
Changed minimum possible date
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham1206agra committed Sep 27, 2024
1 parent ffceb83 commit ca45bf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/MissingPersonalDetails/substeps/DateOfBirth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ca45bf9

Please sign in to comment.