mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-31 17:19:56 +08:00
refactor: new provider (#4900)
This commit is contained in:
@@ -268,7 +268,6 @@ export const rootWorkspacesMetadataAtom = atom<
|
||||
}
|
||||
|
||||
if (newWorkspaceId) {
|
||||
set(currentPageIdAtom, null);
|
||||
set(currentWorkspaceIdAtom, newWorkspaceId);
|
||||
}
|
||||
return metadata;
|
||||
|
||||
Reference in New Issue
Block a user