diff --git a/src/components/AuthPages/Login/index.jsx b/src/components/AuthPages/Login/index.jsx index 6ab5311..e84c207 100644 --- a/src/components/AuthPages/Login/index.jsx +++ b/src/components/AuthPages/Login/index.jsx @@ -484,8 +484,7 @@ export default function Login() { {loginType == "full" && (
- This site is protected by hCaptcha and the our Privacy Policy - and Terms of Service apply. + This site is protected by a Captcha. Our Privacy Policy and Terms of Service apply.
)} diff --git a/src/components/FamilyAcc/Tabs/FamilyProfile.jsx b/src/components/FamilyAcc/Tabs/FamilyProfile.jsx index 8e946d3..fca9c00 100644 --- a/src/components/FamilyAcc/Tabs/FamilyProfile.jsx +++ b/src/components/FamilyAcc/Tabs/FamilyProfile.jsx @@ -283,10 +283,14 @@ export default function FamilyProfile({ familyData, className }) { // Get the current year // const currentYear = new Date().getFullYear() - process.env.REACT_APP_FAMILY_MINIMUM_AGE; -const currentYear = new Date().getFullYear(); -// Generate an array of years from the current year to (currentYear - 19) -const years = Array.from({ length: 19 }, (_, index) => currentYear - index); +// Calculate the current year and the year 3 years before the current year +const currentYear = new Date().getFullYear(); +const startYear = currentYear - 3; + +// Generate an array of years from 4 years before the current year to 18 years before the current year +const years = Array.from({ length: 15 }, (_, index) => startYear - index).reverse(); +// const latestYears = years.slice(0, process.env.REACT_APP_FAMILY_YEAR_RANGE); const months = [ { id: "1", name: "January" },