From 03407a3738ce34496a50f566c319eef6a39a37b3 Mon Sep 17 00:00:00 2001 From: joshsny Date: Tue, 10 Aug 2021 11:00:05 +0200 Subject: [PATCH] removed empty array from useEffect --- pages/availability/troubleshoot.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/availability/troubleshoot.tsx b/pages/availability/troubleshoot.tsx index 77cfa6ca..b527fe43 100644 --- a/pages/availability/troubleshoot.tsx +++ b/pages/availability/troubleshoot.tsx @@ -44,7 +44,7 @@ export default function Troubleshoot({ user }) { useEffect(() => { fetchAvailability(selectedDate); - }, []); + }); if (loading) { return ;