diff options
author | 2019-03-01 14:27:40 +0100 | |
---|---|---|
committer | 2019-03-01 14:27:40 +0100 | |
commit | 1947cad07e0d9c32ffb874bdea482e7ff037888b (patch) | |
tree | caf17c27b5b02778a429bde83c49ab894b657b8a /src | |
parent | Merge branch 'develop' into feature/workspaces (diff) | |
download | ferdium-app-1947cad07e0d9c32ffb874bdea482e7ff037888b.tar.gz ferdium-app-1947cad07e0d9c32ffb874bdea482e7ff037888b.tar.zst ferdium-app-1947cad07e0d9c32ffb874bdea482e7ff037888b.zip |
fix eslint issues
Diffstat (limited to 'src')
-rw-r--r-- | src/features/workspaces/index.js | 6 | ||||
-rw-r--r-- | src/stores/ServicesStore.js | 3 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/features/workspaces/index.js b/src/features/workspaces/index.js index 8091f49fc..79c9b8ac9 100644 --- a/src/features/workspaces/index.js +++ b/src/features/workspaces/index.js | |||
@@ -15,9 +15,9 @@ export const filterServicesByActiveWorkspace = (services) => { | |||
15 | return services; | 15 | return services; |
16 | }; | 16 | }; |
17 | 17 | ||
18 | export const getActiveWorkspaceServices = (services) => { | 18 | export const getActiveWorkspaceServices = services => ( |
19 | return filterServicesByActiveWorkspace(services); | 19 | filterServicesByActiveWorkspace(services) |
20 | }; | 20 | ); |
21 | 21 | ||
22 | export default function initWorkspaces(stores, actions) { | 22 | export default function initWorkspaces(stores, actions) { |
23 | const { features, user } = stores; | 23 | const { features, user } = stores; |
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js index a86db8103..da4b19c0d 100644 --- a/src/stores/ServicesStore.js +++ b/src/stores/ServicesStore.js | |||
@@ -2,7 +2,7 @@ import { | |||
2 | action, | 2 | action, |
3 | reaction, | 3 | reaction, |
4 | computed, | 4 | computed, |
5 | observable, runInAction, | 5 | observable, |
6 | } from 'mobx'; | 6 | } from 'mobx'; |
7 | import { debounce, remove } from 'lodash'; | 7 | import { debounce, remove } from 'lodash'; |
8 | import ms from 'ms'; | 8 | import ms from 'ms'; |
@@ -12,7 +12,6 @@ import Request from './lib/Request'; | |||
12 | import CachedRequest from './lib/CachedRequest'; | 12 | import CachedRequest from './lib/CachedRequest'; |
13 | import { matchRoute } from '../helpers/routing-helpers'; | 13 | import { matchRoute } from '../helpers/routing-helpers'; |
14 | import { gaEvent } from '../lib/analytics'; | 14 | import { gaEvent } from '../lib/analytics'; |
15 | import { workspacesState } from '../features/workspaces/state'; | ||
16 | import { filterServicesByActiveWorkspace, getActiveWorkspaceServices } from '../features/workspaces'; | 15 | import { filterServicesByActiveWorkspace, getActiveWorkspaceServices } from '../features/workspaces'; |
17 | 16 | ||
18 | const debug = require('debug')('Franz:ServiceStore'); | 17 | const debug = require('debug')('Franz:ServiceStore'); |