fix: cleanup workspace when switch setting panel (#3072)

This commit is contained in:
Alex Yang
2023-07-06 23:27:09 +08:00
committed by GitHub
parent fafd93f7dc
commit 822078e640
6 changed files with 58 additions and 63 deletions
+2
View File
@@ -15,6 +15,8 @@ export type SettingAtom = Pick<SettingProps, 'activeTab' | 'workspace'> & {
};
export const openSettingModalAtom = atom<SettingAtom>({
activeTab: 'appearance',
workspace: null,
open: false,
});