From 2a8a1fc5a39aa9274b5d5241eb2ae49ea235c39f Mon Sep 17 00:00:00 2001 From: Benjamin Tang Date: Tue, 31 Oct 2023 01:21:59 -0400 Subject: [PATCH] fixed more linter issues --- src/components/pages/AnalyticsView.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/pages/AnalyticsView.tsx b/src/components/pages/AnalyticsView.tsx index d81585b7a..7a79a98ea 100644 --- a/src/components/pages/AnalyticsView.tsx +++ b/src/components/pages/AnalyticsView.tsx @@ -23,7 +23,8 @@ const AnalyticsView = () => { const currSem = currDate.getMonth() >= 8 && currDate.getMonth() < 13 ? 'FA' : 'SP'; const currYearTwo = currDate.getFullYear() % 100; - let startMonth, endMonth; + let startMonth; + let endMonth; if (currDate.getMonth() >= 7) { startMonth = 7; // August endMonth = 11; // December