diff options
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 | { |