Skip to content

Commit a475456

Browse files
mercuryseriesyyx990803
authored andcommitted
Fix wrong store state path (#311)
Fix wrong store state path
1 parent 5048db7 commit a475456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ You might be wondering - why did we choose to use a getter instead of directly a
250250

251251
1. We may want to define getters with computed values (think totals, averages, etc.).
252252
2. Many components in a larger app can use the same getter function.
253-
3. If the value is moved from say `store.count` to `store.counter.value` you'd have to update one getter instead of dozens of components.
253+
3. If the value is moved from say `store.state.count` to `store.state.counter.value` you'd have to update one getter instead of dozens of components.
254254

255255
These are a few of the benefits of using getters.
256256

0 commit comments

Comments
 (0)