diff options
Diffstat (limited to 'src/features/quickSwitch/index.js')
-rw-r--r-- | src/features/quickSwitch/index.js | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/features/quickSwitch/index.js b/src/features/quickSwitch/index.js index c57fad366..a16017219 100644 --- a/src/features/quickSwitch/index.js +++ b/src/features/quickSwitch/index.js | |||
@@ -1,15 +1,10 @@ | |||
1 | import { observable } from 'mobx'; | 1 | import { state as ModalState } from './store'; |
2 | 2 | ||
3 | export { default as Component } from './Component'; | 3 | export { default as Component } from './Component'; |
4 | const state = ModalState; | ||
4 | 5 | ||
5 | const debug = require('debug')('Ferdi:feature:quickSwitch'); | 6 | const debug = require('debug')('Ferdi:feature:quickSwitch'); |
6 | 7 | ||
7 | const defaultState = { | ||
8 | isModalVisible: false, | ||
9 | }; | ||
10 | |||
11 | export const state = observable(defaultState); | ||
12 | |||
13 | export default function initialize() { | 8 | export default function initialize() { |
14 | debug('Initialize quickSwitch feature'); | 9 | debug('Initialize quickSwitch feature'); |
15 | 10 | ||