``update Change logout behavior from route navigation to full page reload after sign-out ``

This commit is contained in:
2025-05-16 23:41:22 +08:00
parent 720838f137
commit 4d57d0a5f3

View File

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