Fix more build errors
This commit is contained in:
parent
1bdc1e60db
commit
30ce47826f
61 changed files with 1161 additions and 541 deletions
|
|
@ -10,7 +10,7 @@ export const Auth: FC = ({ children }) => {
|
|||
if (!session && !loading) {
|
||||
router.push("/login");
|
||||
}
|
||||
}, [session, loading]);
|
||||
}, [session, loading, router]);
|
||||
|
||||
if (loading) {
|
||||
return <CircularProgress />;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue