diff options
Diffstat (limited to 'src/features/workspaces/state.js')
-rw-r--r-- | src/features/workspaces/state.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/features/workspaces/state.js b/src/features/workspaces/state.js deleted file mode 100644 index c916480c0..000000000 --- a/src/features/workspaces/state.js +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | import { observable } from 'mobx'; | ||
2 | |||
3 | const defaultState = { | ||
4 | activeWorkspace: null, | ||
5 | nextWorkspace: null, | ||
6 | isLoadingWorkspaces: false, | ||
7 | isFeatureActive: false, | ||
8 | isSwitchingWorkspace: false, | ||
9 | isWorkspaceDrawerOpen: false, | ||
10 | workspaces: [], | ||
11 | workspaceBeingEdited: null, | ||
12 | }; | ||
13 | |||
14 | export const workspacesState = observable(defaultState); | ||
15 | |||
16 | export function resetState() { | ||
17 | Object.assign(workspacesState, defaultState); | ||
18 | } | ||