mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 06:18:45 +08:00
fix: cleanup workspace when switch setting panel (#3072)
This commit is contained in:
@@ -15,6 +15,8 @@ export type SettingAtom = Pick<SettingProps, 'activeTab' | 'workspace'> & {
|
||||
};
|
||||
|
||||
export const openSettingModalAtom = atom<SettingAtom>({
|
||||
activeTab: 'appearance',
|
||||
workspace: null,
|
||||
open: false,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user