Skip to content

Scheduling infrastructure for absolutely everyone.

Update pages/availability/troubleshoot.tsx

Joshua Snyder6415b561b7e5
diff --git a/pages/availability/troubleshoot.tsx b/pages/availability/troubleshoot.tsx
index b527fe43cc1..2b82ab21d38 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 <Loader />;