Corrections + admin full screen

This commit is contained in:
Sebastien Riviere
2025-09-18 01:27:44 +02:00
parent 0f64fc59f9
commit a2c4b5c540
24 changed files with 201 additions and 135 deletions

View File

@@ -10,7 +10,7 @@ export default function usePasswordProtect(loginPath, redirectPath, loading, log
redirect(loginPath);
}
if(loggedIn && !loading && path === loginPath) {
redirect(redirectPath)
redirect(redirectPath);
}
}, [loggedIn, loading, path]);
}