aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2019-10-16 15:29:19 +0200
committerLibravatar Stefan Malzner <stefan@adlk.io>2019-10-16 15:29:19 +0200
commitfad0c62765b697e2a973368ff4cca862f99e70c9 (patch)
tree2df5f15c4eb42342a6b3e8588973ab3a31d3cb2c /src
parentAdd trialStatusBar & polishing (diff)
downloadferdium-app-fad0c62765b697e2a973368ff4cca862f99e70c9.tar.gz
ferdium-app-fad0c62765b697e2a973368ff4cca862f99e70c9.tar.zst
ferdium-app-fad0c62765b697e2a973368ff4cca862f99e70c9.zip
fix linting issues
Diffstat (limited to 'src')
-rw-r--r--src/features/planSelection/store.js15
-rw-r--r--src/features/trialStatusBar/components/ProgressBar.js1
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';
6import { remote } from 'electron';
7 6
8import { planSelectionActions } from './actions'; 7import { planSelectionActions } from './actions';
9import { FeatureStore } from '../utils/FeatureStore'; 8import { FeatureStore } from '../utils/FeatureStore';
10// import { createReactions } from '../../stores/lib/Reaction';
11import { createActionBindings } from '../utils/ActionBinding'; 9import { createActionBindings } from '../utils/ActionBinding';
12import { downgradeUserRequest } from './api'; 10import { downgradeUserRequest } from './api';
13 11
14const debug = require('debug')('Franz:feature:planSelection:store'); 12const debug = require('debug')('Franz:feature:planSelection:store');
15 13
16const { BrowserWindow } = remote;
17
18export default class PlanSelectionStore extends FeatureStore { 14export 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 => ({
25class ProgressBar extends Component { 25class 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() {