diff options
author | 2019-10-16 15:29:19 +0200 | |
---|---|---|
committer | 2019-10-16 15:29:19 +0200 | |
commit | fad0c62765b697e2a973368ff4cca862f99e70c9 (patch) | |
tree | 2df5f15c4eb42342a6b3e8588973ab3a31d3cb2c /src/features | |
parent | Add trialStatusBar & polishing (diff) | |
download | ferdium-app-fad0c62765b697e2a973368ff4cca862f99e70c9.tar.gz ferdium-app-fad0c62765b697e2a973368ff4cca862f99e70c9.tar.zst ferdium-app-fad0c62765b697e2a973368ff4cca862f99e70c9.zip |
fix linting issues
Diffstat (limited to 'src/features')
-rw-r--r-- | src/features/planSelection/store.js | 15 | ||||
-rw-r--r-- | src/features/trialStatusBar/components/ProgressBar.js | 1 |
2 files changed, 0 insertions, 16 deletions
diff --git a/src/features/planSelection/store.js b/src/features/planSelection/store.js index 0d4672722..8622d4e5a 100644 --- a/src/features/planSelection/store.js +++ b/src/features/planSelection/store.js | |||
@@ -3,18 +3,14 @@ import { | |||
3 | observable, | 3 | observable, |
4 | computed, | 4 | computed, |
5 | } from 'mobx'; | 5 | } from 'mobx'; |
6 | import { remote } from 'electron'; | ||
7 | 6 | ||
8 | import { planSelectionActions } from './actions'; | 7 | import { planSelectionActions } from './actions'; |
9 | import { FeatureStore } from '../utils/FeatureStore'; | 8 | import { FeatureStore } from '../utils/FeatureStore'; |
10 | // import { createReactions } from '../../stores/lib/Reaction'; | ||
11 | import { createActionBindings } from '../utils/ActionBinding'; | 9 | import { createActionBindings } from '../utils/ActionBinding'; |
12 | import { downgradeUserRequest } from './api'; | 10 | import { downgradeUserRequest } from './api'; |
13 | 11 | ||
14 | const debug = require('debug')('Franz:feature:planSelection:store'); | 12 | const debug = require('debug')('Franz:feature:planSelection:store'); |
15 | 13 | ||
16 | const { BrowserWindow } = remote; | ||
17 | |||
18 | export default class PlanSelectionStore extends FeatureStore { | 14 | export default class PlanSelectionStore extends FeatureStore { |
19 | @observable isFeatureEnabled = false; | 15 | @observable isFeatureEnabled = false; |
20 | 16 | ||
@@ -46,17 +42,6 @@ export default class PlanSelectionStore extends FeatureStore { | |||
46 | [planSelectionActions.hideOverlay, this._hideOverlay], | 42 | [planSelectionActions.hideOverlay, this._hideOverlay], |
47 | ])); | 43 | ])); |
48 | 44 | ||
49 | // REACTIONS | ||
50 | |||
51 | // this._allReactions = createReactions([ | ||
52 | // this._setFeatureEnabledReaction, | ||
53 | // this._updateTodosConfig, | ||
54 | // this._firstLaunchReaction, | ||
55 | // this._routeCheckReaction, | ||
56 | // ]); | ||
57 | |||
58 | // this._registerReactions(this._allReactions); | ||
59 | |||
60 | this.isFeatureActive = true; | 45 | this.isFeatureActive = true; |
61 | } | 46 | } |
62 | 47 | ||
diff --git a/src/features/trialStatusBar/components/ProgressBar.js b/src/features/trialStatusBar/components/ProgressBar.js index 80d478d8c..41b74d396 100644 --- a/src/features/trialStatusBar/components/ProgressBar.js +++ b/src/features/trialStatusBar/components/ProgressBar.js | |||
@@ -25,7 +25,6 @@ const styles = theme => ({ | |||
25 | class ProgressBar extends Component { | 25 | class ProgressBar extends Component { |
26 | static propTypes = { | 26 | static propTypes = { |
27 | classes: PropTypes.object.isRequired, | 27 | classes: PropTypes.object.isRequired, |
28 | percent: PropTypes.number.isRequired, | ||
29 | }; | 28 | }; |
30 | 29 | ||
31 | render() { | 30 | render() { |