Skip to content

Commit

Permalink
Fix: stringify the year
Browse files Browse the repository at this point in the history
  • Loading branch information
georgipavlov-7DIGIT committed Nov 1, 2024
1 parent 395f011 commit 5915cd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/blocks/RegisterAboutYou/RegisterAboutYou.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const RegisterAboutYou = ({ isAnonymous }) => {
year <= currentYear - minAge;
year++
) {
years.push({ label: year.toString(), value: year });
years.push({ label: year.toString(), value: year.toString() });
}
years.push({
label: t("parent"),
Expand Down
2 changes: 1 addition & 1 deletion src/blocks/UserDetails/UserDetails.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export const UserDetails = ({
year <= currentYear - minAge;
year++
) {
years.push({ label: year.toString(), value: year });
years.push({ label: year.toString(), value: year.toString() });
}
years.push({
label: t("parent"),
Expand Down

0 comments on commit 5915cd9

Please sign in to comment.