Skip to content

Commit d25a976

Browse files
dobbsryanyyx990803
authored andcommitted
Update structure.md (#170)
1 parent 4209938 commit d25a976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export default new Vuex.Store({
107107
})
108108
```
109109

110-
Here, `cart` module's initial state will be attached to the root state tree as `store.state.cart`. In addition, **all the mutations defined in a sub-module only receives the sub-state-tree they are associated with**. So mutations defined in the `cart` module will receive `store.state.cart` as their first argument.
110+
Here, `cart` module's initial state will be attached to the root state tree as `store.state.cart`. In addition, **all the mutations defined in a sub-module only receive the sub-state-tree they are associated with**. So mutations defined in the `cart` module will receive `store.state.cart` as their first argument.
111111

112112
The root of the sub-state-tree is irreplaceable inside the module itself. For example this won't work:
113113

0 commit comments

Comments
 (0)