Skip to content

Scheduling infrastructure for absolutely everyone.

quick fix for location error (#492)

Alex Johansson5a9961f60803
diff --git a/pages/[user]/[type].tsx b/pages/[user]/[type].tsx
index d1b68fe5da5..3ca2b93b6b5 100644
--- a/pages/[user]/[type].tsx
+++ b/pages/[user]/[type].tsx
@@ -65,7 +65,8 @@ export default function Type(props: InferGetServerSidePropsType<typeof getServer
shallow: true,
}
);
- }, [router, selectedDate]);
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [selectedDate]);
const handleSelectTimeZone = (selectedTimeZone: string): void => {
if (selectedDate) {