``update Change logout behavior back to route navigation after sign-out instead of full page reload ``

This commit is contained in:
2025-05-17 10:02:35 +00:00
parent 59cdf7257b
commit cf0ec8bd64

View File

@@ -58,8 +58,7 @@ function StudentInfo(): React.JSX.Element {
async function handleLogoutOnClick() {
try {
await authClient.signOut();
// router.push(Paths.AuthLogin);
window.location.reload();
router.push(Paths.AuthLogin);
} catch (error) {
console.error(error);
}