aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/shareFranz/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/shareFranz/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/shareFranz/index.js')
-rw-r--r--src/features/shareFranz/index.js11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/features/shareFranz/index.js b/src/features/shareFranz/index.js
index 04e3684ae..34475f674 100644
--- a/src/features/shareFranz/index.js
+++ b/src/features/shareFranz/index.js
@@ -1,6 +1,6 @@
1import { observable, reaction } from 'mobx'; 1import { reaction } from 'mobx';
2import ms from 'ms'; 2import ms from 'ms';
3 3import { state as ModalState } from './store';
4import { state as delayAppState } from '../delayApp'; 4import { state as delayAppState } from '../delayApp';
5import { planSelectionStore } from '../planSelection'; 5import { planSelectionStore } from '../planSelection';
6 6
@@ -8,12 +8,7 @@ export { default as Component } from './Component';
8 8
9const debug = require('debug')('Ferdi:feature:shareFranz'); 9const debug = require('debug')('Ferdi:feature:shareFranz');
10 10
11const defaultState = { 11const state = ModalState;
12 isModalVisible: false,
13 lastShown: null,
14};
15
16export const state = observable(defaultState);
17 12
18export default function initialize(stores) { 13export default function initialize(stores) {
19 debug('Initialize shareFerdi feature'); 14 debug('Initialize shareFerdi feature');