mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-27 21:12:16 +03:00
Merge branch 'master' into fix/update-search-ui
This commit is contained in:
commit
9e15f1add9
@ -141,6 +141,7 @@ export const AppStateProvider = ({
|
||||
}
|
||||
setAppState({
|
||||
...appState,
|
||||
workspaceList: dataCenter.workspaces,
|
||||
user,
|
||||
});
|
||||
return user;
|
||||
@ -151,6 +152,7 @@ export const AppStateProvider = ({
|
||||
await dataCenter.logout();
|
||||
setAppState({
|
||||
...appState,
|
||||
workspaceList: dataCenter.workspaces,
|
||||
user: null,
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user