quick fix for location error (#492)

pull/473/head^2
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
1 changed files with 2 additions and 1 deletions

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