aboutsummaryrefslogtreecommitdiffstats
path: root/docs/example-feature/store.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 /docs/example-feature/store.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 'docs/example-feature/store.js')
-rw-r--r--docs/example-feature/store.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/example-feature/store.js b/docs/example-feature/store.js
index de27eae86..9fc86de36 100644
--- a/docs/example-feature/store.js
+++ b/docs/example-feature/store.js
@@ -18,8 +18,12 @@ export class ExampleFeatureStore extends Store {
18 18
19 // Update the name on the state when the request resolved 19 // Update the name on the state when the request resolved
20 reaction( 20 reaction(
21 () => this.getNameRequest.result, 21 () => (
22 name => this._setName(name), 22 this.getNameRequest.result
23 ),
24 (name) => {
25 this._setName(name);
26 },
23 ); 27 );
24 } 28 }
25 29