aboutsummaryrefslogtreecommitdiffstats
path: root/docs/example-feature/store.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-08-24 10:22:22 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-08-24 10:22:22 +0530
commit2dc7b2fd3976853f3dc2f182f12cfe11c3b83688 (patch)
tree22fc7a9e4d3ddd2be16821c871259fb067c7df30 /docs/example-feature/store.js
parentdocs: upgraded version to 5.6.1-beta.1 (diff)
parent5.6.1-nightly.37 [skip ci] (diff)
downloadferdium-app-2dc7b2fd3976853f3dc2f182f12cfe11c3b83688.tar.gz
ferdium-app-2dc7b2fd3976853f3dc2f182f12cfe11c3b83688.tar.zst
ferdium-app-2dc7b2fd3976853f3dc2f182f12cfe11c3b83688.zip
Merge remote-tracking branch 'origin/develop' into release
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