Fixes for Login Bug

This commit is contained in:
2024-04-07 03:07:22 -04:00
parent 1dda82790c
commit e8be631182
2 changed files with 0 additions and 5 deletions
-2
View File
@@ -47,8 +47,6 @@ function Chat() {
window.location.href = "/onboarding";
}
});
} else {
window.location.href = "/login"
}
}, [authUser])
-3
View File
@@ -56,9 +56,6 @@ function UserProfile() {
window.location.href = "/onboarding";
}
});
} else {
setIsAuthenticated(false);
window.location.href = "/login";
}
});
}, []);