aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/quickSwitch/index.js
diff options
context:
space:
mode:
authorLibravatar Markandan R <rmarkandan@yahoo.com>2021-06-22 10:56:34 +0530
committerLibravatar GitHub <noreply@github.com>2021-06-22 10:56:34 +0530
commita94ed659846f0bc93c05bccf0c96785b91e5c78f (patch)
tree0a50eeb85e9043708936da9a0c923b32edbe8ab9 /src/features/quickSwitch/index.js
parentDowngraded submodule 'src/internal-server' (diff)
downloadferdium-app-a94ed659846f0bc93c05bccf0c96785b91e5c78f.tar.gz
ferdium-app-a94ed659846f0bc93c05bccf0c96785b91e5c78f.tar.zst
ferdium-app-a94ed659846f0bc93c05bccf0c96785b91e5c78f.zip
Removed the cyclical dependency (#1519) (#1539)
Diffstat (limited to 'src/features/quickSwitch/index.js')
-rw-r--r--src/features/quickSwitch/index.js9
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 @@
1import { observable } from 'mobx'; 1import { state as ModalState } from './store';
2 2
3export { default as Component } from './Component'; 3export { default as Component } from './Component';
4const state = ModalState;
4 5
5const debug = require('debug')('Ferdi:feature:quickSwitch'); 6const debug = require('debug')('Ferdi:feature:quickSwitch');
6 7
7const defaultState = {
8 isModalVisible: false,
9};
10
11export const state = observable(defaultState);
12
13export default function initialize() { 8export default function initialize() {
14 debug('Initialize quickSwitch feature'); 9 debug('Initialize quickSwitch feature');
15 10