From a94ed659846f0bc93c05bccf0c96785b91e5c78f Mon Sep 17 00:00:00 2001 From: Markandan R Date: Tue, 22 Jun 2021 10:56:34 +0530 Subject: Removed the cyclical dependency (#1519) (#1539) --- src/features/quickSwitch/index.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/features/quickSwitch/index.js') 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 @@ -import { observable } from 'mobx'; +import { state as ModalState } from './store'; export { default as Component } from './Component'; +const state = ModalState; const debug = require('debug')('Ferdi:feature:quickSwitch'); -const defaultState = { - isModalVisible: false, -}; - -export const state = observable(defaultState); - export default function initialize() { debug('Initialize quickSwitch feature'); -- cgit v1.2.3-70-g09d2