fix: logout 404 (#4253)

Co-authored-by: Alex Yang <himself65@outlook.com>
This commit is contained in:
Peng Xiao
2023-09-08 00:14:02 +08:00
committed by GitHub
parent fcf041024f
commit 185546b8ea
2 changed files with 11 additions and 3 deletions
+1
View File
@@ -91,6 +91,7 @@ export const signOutCloud: typeof signOut = async options => {
.then(result => {
if (result) {
startTransition(() => {
localStorage.removeItem('last_workspace_id');
getCurrentStore().set(refreshRootMetadataAtom);
});
}