summaryrefslogtreecommitdiff
path: root/doc/development/fe_guide/vue.md
diff options
context:
space:
mode:
authorDennis Tang <dennis@dennistang.net>2018-04-19 12:04:15 +0000
committerFatih Acet <acetfatih@gmail.com>2018-04-19 12:04:15 +0000
commit3a7c148d0b353e81bb15a5e5ac1e5ee28f47673f (patch)
treeca1f23cd6a88c758267ad18ad0f5929e4c481e98 /doc/development/fe_guide/vue.md
parent674702e02e2654e539e1b3c9a12d6b9897a614cf (diff)
downloadgitlab-ce-3a7c148d0b353e81bb15a5e5ac1e5ee28f47673f.tar.gz
Fix typo in vue.md
Diffstat (limited to 'doc/development/fe_guide/vue.md')
-rw-r--r--doc/development/fe_guide/vue.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/development/fe_guide/vue.md b/doc/development/fe_guide/vue.md
index 944b56a65f1..9c4b0e86351 100644
--- a/doc/development/fe_guide/vue.md
+++ b/doc/development/fe_guide/vue.md
@@ -524,7 +524,7 @@ export default new Vuex.Store({
_Note:_ If the state of the application is too complex, an individual file for the state may be better.
##### `actions.js`
-An action commits a mutatation. In this file, we will write the actions that will call the respective mutation:
+An action commits a mutation. In this file, we will write the actions that will commit the respective mutation:
```javascript
import * as types from './mutation_types';
@@ -661,7 +661,7 @@ describe('component', () => {
};
// populate the store
- store.dipatch('addUser', user);
+ store.dispatch('addUser', user);
vm = new Component({
store,