diff --git a/pages/availability/troubleshoot.tsx b/pages/availability/troubleshoot.tsx index b527fe43..2b82ab21 100644 --- a/pages/availability/troubleshoot.tsx +++ b/pages/availability/troubleshoot.tsx @@ -44,7 +44,7 @@ export default function Troubleshoot({ user }) { useEffect(() => { fetchAvailability(selectedDate); - }); + }, [selectedDate]); if (loading) { return ;