Fix more build errors

This commit is contained in:
Darren Clarke 2023-03-15 12:17:43 +00:00
parent 1bdc1e60db
commit 30ce47826f
61 changed files with 1161 additions and 541 deletions

View file

@ -10,7 +10,7 @@ export const Auth: FC = ({ children }) => {
if (!session && !loading) {
router.push("/login");
}
}, [session, loading]);
}, [session, loading, router]);
if (loading) {
return <CircularProgress />;