mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-12 23:56:36 +08:00
fix: logout 404 (#4253)
Co-authored-by: Alex Yang <himself65@outlook.com>
This commit is contained in:
@@ -91,6 +91,7 @@ export const signOutCloud: typeof signOut = async options => {
|
||||
.then(result => {
|
||||
if (result) {
|
||||
startTransition(() => {
|
||||
localStorage.removeItem('last_workspace_id');
|
||||
getCurrentStore().set(refreshRootMetadataAtom);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user