Fix "ups" error for 1sec after logout

This commit is contained in:
2025-11-12 08:53:21 +02:00
parent 2cb6a0343a
commit 5ef7f58f5d
3 changed files with 37 additions and 1 deletions

View File

@@ -65,7 +65,9 @@ export function useAuthChangeListener({
return;
}
window.location.reload();
// Redirect to home instead of reloading to avoid state mismatch errors
// during the transition
window.location.assign('/');
}
});