From c5490e1502f7fd15fb97ecd4f272e714f2c64ecc Mon Sep 17 00:00:00 2001 From: Lucid Kobold Date: Tue, 4 Jan 2022 10:08:50 -0600 Subject: [PATCH] Removed todos --- contexts/CalenderContext.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/contexts/CalenderContext.tsx b/contexts/CalenderContext.tsx index 662c293..a1b1da6 100644 --- a/contexts/CalenderContext.tsx +++ b/contexts/CalenderContext.tsx @@ -206,9 +206,6 @@ const CalenderContextProvider = ({ layout: populateMonth(selectedDate) }); - //TODO Update the MonthInfo to use the new month population function on first render. - - //TODO Add a function that will update the MonthInfo state when the selected month changes. This should use the populate month function that will be made above. /** * Updates the selectedDateInfo state when given a date. * @param {Date} newDate The date to set the selectedDateInfo state to. @@ -222,7 +219,6 @@ const CalenderContextProvider = ({ setSelectedMonthInfo(output); }; - //TODO: Add a new navigation function that will take in either a direction (next, prev) or a date to go directly to. That will update the selected month and trigger the use effects below. /** * Updated the selectedDate state when given the appropriate object. * @param {UpdateCalendarProps} input An object with year, month,