diff options
author | Dominik Guzei <dominik.guzei@gmail.com> | 2019-08-01 14:12:30 +0200 |
---|---|---|
committer | Dominik Guzei <dominik.guzei@gmail.com> | 2019-08-01 14:12:30 +0200 |
commit | 5818e579f4baf6326250ac8d94d225675b7d8165 (patch) | |
tree | 296f14b506838b0f865a02d16788fac2e9aafecc /src/features/todos/index.js | |
parent | add updated i18n messages (diff) | |
download | ferdium-app-5818e579f4baf6326250ac8d94d225675b7d8165.tar.gz ferdium-app-5818e579f4baf6326250ac8d94d225675b7d8165.tar.zst ferdium-app-5818e579f4baf6326250ac8d94d225675b7d8165.zip |
Fix eslint issues
Diffstat (limited to 'src/features/todos/index.js')
-rw-r--r-- | src/features/todos/index.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/features/todos/index.js b/src/features/todos/index.js index 0dfd35c78..f741561d6 100644 --- a/src/features/todos/index.js +++ b/src/features/todos/index.js | |||
@@ -8,10 +8,10 @@ export const GA_CATEGORY_TODOS = 'Todos'; | |||
8 | export const DEFAULT_TODOS_WIDTH = 300; | 8 | export const DEFAULT_TODOS_WIDTH = 300; |
9 | export const TODOS_MIN_WIDTH = 200; | 9 | export const TODOS_MIN_WIDTH = 200; |
10 | 10 | ||
11 | export const todoStore = new TodoStore(); | 11 | export const todosStore = new TodoStore(); |
12 | 12 | ||
13 | export default function initTodos(stores, actions) { | 13 | export default function initTodos(stores, actions) { |
14 | stores.todos = todoStore; | 14 | stores.todos = todosStore; |
15 | const { features } = stores; | 15 | const { features } = stores; |
16 | 16 | ||
17 | // Toggle todos feature | 17 | // Toggle todos feature |
@@ -20,10 +20,10 @@ export default function initTodos(stores, actions) { | |||
20 | (isEnabled) => { | 20 | (isEnabled) => { |
21 | if (isEnabled) { | 21 | if (isEnabled) { |
22 | debug('Initializing `todos` feature'); | 22 | debug('Initializing `todos` feature'); |
23 | todoStore.start(stores, actions); | 23 | todosStore.start(stores, actions); |
24 | } else if (todoStore.isFeatureActive) { | 24 | } else if (todosStore.isFeatureActive) { |
25 | debug('Disabling `todos` feature'); | 25 | debug('Disabling `todos` feature'); |
26 | todoStore.stop(); | 26 | todosStore.stop(); |
27 | } | 27 | } |
28 | }, | 28 | }, |
29 | { | 29 | { |