Browse Source

docs: change `funciton` to `method` (#2043)

Yukon123 3 years ago
parent
commit
c0bad80e9c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/guide/composition-api.md

+ 1 - 1
docs/guide/composition-api.md

@@ -37,7 +37,7 @@ export default {
 
 ## Accessing Mutations and Actions
 
-When accessing mutations and actions, you can simply provide the `commit` and `dispatch` function inside the `setup` hook.
+When accessing mutations and actions, you can simply provide the `commit` and `dispatch` method inside the `setup` hook.
 
 ```js
 import { useStore } from 'vuex'