quick fix for location error (#492)

This commit is contained in:
Alex Johansson 2021-08-18 22:07:59 +02:00 committed by GitHub
parent f372520016
commit 5a9961f608
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {