This commit is contained in:
zeppi 2021-01-08 11:28:52 -05:00 committed by Sean Yesmunt
parent 6fb345dbbc
commit 72945b45c5

View file

@ -239,8 +239,7 @@ function App(props: Props) {
if (shouldMigrateLanguage) { if (shouldMigrateLanguage) {
setLanguage(shouldMigrateLanguage); setLanguage(shouldMigrateLanguage);
} }
// eslint-disable-next-line react-hooks/exhaustive-deps }, [shouldMigrateLanguage, setLanguage]);
}, [shouldMigrateLanguage]);
useEffect(() => { useEffect(() => {
// Check that previousHasVerifiedEmail was not undefined instead of just not truthy // Check that previousHasVerifiedEmail was not undefined instead of just not truthy