diff options
author | Markandan R <rmarkandan@yahoo.com> | 2021-06-22 10:56:34 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-22 10:56:34 +0530 |
commit | a94ed659846f0bc93c05bccf0c96785b91e5c78f (patch) | |
tree | 0a50eeb85e9043708936da9a0c923b32edbe8ab9 /src/features/shareFranz/index.js | |
parent | Downgraded submodule 'src/internal-server' (diff) | |
download | ferdium-app-a94ed659846f0bc93c05bccf0c96785b91e5c78f.tar.gz ferdium-app-a94ed659846f0bc93c05bccf0c96785b91e5c78f.tar.zst ferdium-app-a94ed659846f0bc93c05bccf0c96785b91e5c78f.zip |
Diffstat (limited to 'src/features/shareFranz/index.js')
-rw-r--r-- | src/features/shareFranz/index.js | 11 |
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 @@ | |||
1 | import { observable, reaction } from 'mobx'; | 1 | import { reaction } from 'mobx'; |
2 | import ms from 'ms'; | 2 | import ms from 'ms'; |
3 | 3 | import { state as ModalState } from './store'; | |
4 | import { state as delayAppState } from '../delayApp'; | 4 | import { state as delayAppState } from '../delayApp'; |
5 | import { planSelectionStore } from '../planSelection'; | 5 | import { planSelectionStore } from '../planSelection'; |
6 | 6 | ||
@@ -8,12 +8,7 @@ export { default as Component } from './Component'; | |||
8 | 8 | ||
9 | const debug = require('debug')('Ferdi:feature:shareFranz'); | 9 | const debug = require('debug')('Ferdi:feature:shareFranz'); |
10 | 10 | ||
11 | const defaultState = { | 11 | const state = ModalState; |
12 | isModalVisible: false, | ||
13 | lastShown: null, | ||
14 | }; | ||
15 | |||
16 | export const state = observable(defaultState); | ||
17 | 12 | ||
18 | export default function initialize(stores) { | 13 | export default function initialize(stores) { |
19 | debug('Initialize shareFerdi feature'); | 14 | debug('Initialize shareFerdi feature'); |