Commit be836f9d authored by Guilhem CARRON's avatar Guilhem CARRON
Browse files

feat(profileType): invert month and year fields

parent 47e9663a
......@@ -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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment