From 094b47b26dca844b4f55d94fa39a51e1c723effa Mon Sep 17 00:00:00 2001 From: "Kalle (Sendou)" <38327916+Sendouc@users.noreply.github.com> Date: Mon, 19 Jul 2021 21:59:36 +0300 Subject: [PATCH] Add to useMemo dependency array --- pages/calendar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/calendar.tsx b/pages/calendar.tsx index c5c3aef3c..4fbef0374 100644 --- a/pages/calendar.tsx +++ b/pages/calendar.tsx @@ -84,7 +84,7 @@ const CalendarPage = () => { }, {} ); - }, []); + }, [events.data]); return ( <>