aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/todos/index.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-08-21 20:12:28 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-08-21 21:55:28 +0530
commit4f584111d57e4d91ce189cf2f0b5c2e3e2b8dc4d (patch)
tree9f8b016d71136e87bcf532f60ce4acfa03f6cedd /src/features/todos/index.js
parentIncorrect position while adding a new service when there were pre-existing se... (diff)
downloadferdium-app-4f584111d57e4d91ce189cf2f0b5c2e3e2b8dc4d.tar.gz
ferdium-app-4f584111d57e4d91ce189cf2f0b5c2e3e2b8dc4d.tar.zst
ferdium-app-4f584111d57e4d91ce189cf2f0b5c2e3e2b8dc4d.zip
style: consistent syntax style [skip ci]
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}