From 2c8374cbb21325bae4ce3829c5e441dda94aaf27 Mon Sep 17 00:00:00 2001 From: Maigo Erit Date: Mon, 6 Jul 2020 12:26:50 +0300 Subject: [PATCH] eslint-disable-next-line react-hooks/exhaustive-deps --- client/src/components/SummaryCalendar/SummaryCalendar.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/components/SummaryCalendar/SummaryCalendar.tsx b/client/src/components/SummaryCalendar/SummaryCalendar.tsx index 8dd0012c..ef706741 100644 --- a/client/src/components/SummaryCalendar/SummaryCalendar.tsx +++ b/client/src/components/SummaryCalendar/SummaryCalendar.tsx @@ -55,6 +55,7 @@ export const SummaryCalendar = () => { useEffect(() => { setSelectedDate(timerange[0]); + // eslint-disable-next-line react-hooks/exhaustive-deps }, []); const getListData = day => {