shortened the url of the auth, fixed sidebar toggle issue and fixed browser tab

This commit is contained in:
2023-10-18 00:42:34 -07:00
parent 00703aa5c1
commit bc5f8e8db5
12 changed files with 59 additions and 43 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ const AuthRoute = ({ children }) => {
const isAuthenticated = true; // In a real application, this would be determined based on the user's authentication status.
if (!isAuthenticated) {
router.push("/authentication/sign-in/");
router.push("/auth/");
}
}, [router]);