From 94ffe42325a8f631e11e014f9fae1db99f9606a6 Mon Sep 17 00:00:00 2001 From: Lucid Kobold <72232219+LucidKobold@users.noreply.github.com> Date: Fri, 25 Mar 2022 23:58:59 -0500 Subject: [PATCH] Remove outdated todos --- components/calender/CalenderNav.tsx | 7 ------- contexts/CalenderContext.tsx | 2 -- 2 files changed, 9 deletions(-) diff --git a/components/calender/CalenderNav.tsx b/components/calender/CalenderNav.tsx index 82b7220..a73e63a 100644 --- a/components/calender/CalenderNav.tsx +++ b/components/calender/CalenderNav.tsx @@ -34,13 +34,6 @@ const CalenderNav = (): JSX.Element => { } }; - /** - * TODO: Add logic to remove the nav buttons. - * Do not show next button for current month. - * Do not show prev when there is nothing left to see in the past. - * (Creation date of a chart) - */ - return ( { const currDate = new Date(); // Current date. const startDate = startOfMonth(currDate); // Will eventually be the creation date of the account or the creation date of the oldest chart within the account. Whichever is older.