aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/todos/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/todos/index.js')
-rw-r--r--src/features/todos/index.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/features/todos/index.js b/src/features/todos/index.js
index 1c6c9179a..55956d1d7 100644
--- a/src/features/todos/index.js
+++ b/src/features/todos/index.js
@@ -13,7 +13,9 @@ export default function initTodos(stores, actions) {
13 13
14 // Toggle todos feature 14 // Toggle todos feature
15 reaction( 15 reaction(
16 () => features.features.isTodosEnabled, 16 () => (
17 features.features.isTodosEnabled
18 ),
17 (isEnabled) => { 19 (isEnabled) => {
18 if (isEnabled) { 20 if (isEnabled) {
19 debug('Initializing `todos` feature'); 21 debug('Initializing `todos` feature');
@@ -23,8 +25,6 @@ export default function initTodos(stores, actions) {
23 todosStore.stop(); 25 todosStore.stop();
24 } 26 }
25 }, 27 },
26 { 28 { fireImmediately: true },
27 fireImmediately: true,
28 },
29 ); 29 );
30} 30}