Fixed revalidation useEffect dependencies

This commit is contained in:
Keannu Bernasol 2023-11-19 16:46:39 +08:00
parent f4468d4010
commit 44ecc4ec7c

View file

@ -33,7 +33,7 @@ export default function Revalidator() {
setRechecked(true);
});
}
}, []);
}, [authenticated, dispatch, navigate]);
return <></>;
}