mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 20:08:37 +00:00
fix: on token invalidation it shall be redirected to home page (#1087)
This commit is contained in:
@@ -25,6 +25,7 @@ export function MessageCenterHandler({
|
||||
//
|
||||
// fix: a better option is to keep loading the app, and prompt the user to login
|
||||
// or perhaps displaying page 401?
|
||||
await router.push('/');
|
||||
router.reload();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user