shortened the url of the auth, fixed sidebar toggle issue and fixed browser tab
This commit is contained in:
@@ -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]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user