diff --git a/src/blocks/RegisterAboutYou/RegisterAboutYou.jsx b/src/blocks/RegisterAboutYou/RegisterAboutYou.jsx index e7d2aec..ef23a42 100644 --- a/src/blocks/RegisterAboutYou/RegisterAboutYou.jsx +++ b/src/blocks/RegisterAboutYou/RegisterAboutYou.jsx @@ -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"), diff --git a/src/blocks/UserDetails/UserDetails.jsx b/src/blocks/UserDetails/UserDetails.jsx index 75580c1..e2b3a0d 100644 --- a/src/blocks/UserDetails/UserDetails.jsx +++ b/src/blocks/UserDetails/UserDetails.jsx @@ -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"),