diff --git a/src/components/ProfileType/ProfileTypeFormDateSelection.tsx b/src/components/ProfileType/ProfileTypeFormDateSelection.tsx index 693413cf5e7d27b8f4d328acca88770c720910b0..05b3b77afb774d9bae601360d4f3ee7f88c974e5 100644 --- a/src/components/ProfileType/ProfileTypeFormDateSelection.tsx +++ b/src/components/ProfileType/ProfileTypeFormDateSelection.tsx @@ -189,6 +189,20 @@ const ProfileTypeFormDateSelection: React.FC<ProfileTypeFormDateSelectionProps> </div> {answer !== null ? ( <div className="select-container"> + <div className="date-select"> + <Select + labelId="selectYearDate" + className="year" + defaultValue={selectedYear} + onChange={e => handleSelectYear(e)} + > + {selectYears.map((year, key) => ( + <MenuItem value={year} key={key} className="date-option"> + {year} + </MenuItem> + ))} + </Select> + </div> <div className="date-select"> <Select native={false} @@ -221,20 +235,6 @@ const ProfileTypeFormDateSelection: React.FC<ProfileTypeFormDateSelectionProps> ))} </Select> </div> - <div className="date-select"> - <Select - labelId="selectYearDate" - className="year" - defaultValue={selectedYear} - onChange={e => handleSelectYear(e)} - > - {selectYears.map((year, key) => ( - <MenuItem value={year} key={key} className="date-option"> - {year} - </MenuItem> - ))} - </Select> - </div> </div> ) : null} </div>