Skip to content

Commit 37e3e2f

Browse files
PascalAOMSktsn
authored andcommitted
Minor Typo Fix (#491)
The second `t` in `Comitting` was too silent.
1 parent 0066944 commit 37e3e2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/mutations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ mutations: {
153153

154154
Now imagine we are debugging the app and looking at the devtool's mutation logs. For every mutation logged, the devtool will need to capture a "before" and "after" snapshots of the state. However, the asynchronous callback inside the example mutation above makes that impossible: the callback is not called yet when the mutation is committed, and there's no way for the devtool to know when the callback will actually be called - any state mutation performed in the callback is essentially un-trackable!
155155

156-
### Commiting Mutations in Components
156+
### Committing Mutations in Components
157157

158158
You can commit mutations in components with `this.$store.commit('xxx')`, or use the `mapMutations` helper which maps component methods to `store.commit` calls (requires root `store` injection):
159159

0 commit comments

Comments
 (0)