From 5818e579f4baf6326250ac8d94d225675b7d8165 Mon Sep 17 00:00:00 2001 From: Dominik Guzei Date: Thu, 1 Aug 2019 14:12:30 +0200 Subject: Fix eslint issues --- src/features/todos/index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/features/todos/index.js') 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'; export const DEFAULT_TODOS_WIDTH = 300; export const TODOS_MIN_WIDTH = 200; -export const todoStore = new TodoStore(); +export const todosStore = new TodoStore(); export default function initTodos(stores, actions) { - stores.todos = todoStore; + stores.todos = todosStore; const { features } = stores; // Toggle todos feature @@ -20,10 +20,10 @@ export default function initTodos(stores, actions) { (isEnabled) => { if (isEnabled) { debug('Initializing `todos` feature'); - todoStore.start(stores, actions); - } else if (todoStore.isFeatureActive) { + todosStore.start(stores, actions); + } else if (todosStore.isFeatureActive) { debug('Disabling `todos` feature'); - todoStore.stop(); + todosStore.stop(); } }, { -- cgit v1.2.3-70-g09d2