``update Change logout behavior from route navigation to full page reload after sign-out
``
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user