From 89a9e77380d98ca7f4ea3757dbf705fbb53f7136 Mon Sep 17 00:00:00 2001 From: Ebube Date: Mon, 25 Sep 2023 07:39:08 +0100 Subject: [PATCH] reduced the year length to 17 --- src/components/FamilyAcc/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/FamilyAcc/index.jsx b/src/components/FamilyAcc/index.jsx index d8c9eaf..c398e13 100644 --- a/src/components/FamilyAcc/index.jsx +++ b/src/components/FamilyAcc/index.jsx @@ -326,7 +326,7 @@ function YearMonthDropdowns({ const currentYear = new Date().getFullYear(); // Generate an array of years from the current year to (currentYear - 19) - const years = Array.from({ length: 20 }, (_, index) => currentYear - index); + const years = Array.from({ length: 17 }, (_, index) => currentYear - index); // Array of month names const months = [