]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: state.md (#422)
authorJerry <610819267@qq.com>
Tue, 6 Apr 2021 07:52:06 +0000 (15:52 +0800)
committerGitHub <noreply@github.com>
Tue, 6 Apr 2021 07:52:06 +0000 (09:52 +0200)
Fix typo

docs/core-concepts/state.md

index 98a805c52f9205e8588622ab20e63ffd01aac831..3ca8e16697364dac51e85d74d4db950a366b45de 100644 (file)
@@ -40,7 +40,7 @@ store.$patch({
 })
 ```
 
-The `$path` method also accepts a function to group object mutations that are difficult to apply with an object, e.g. array mutations:
+The `$patch` method also accepts a function to group object mutations that are difficult to apply with an object, e.g. array mutations:
 
 ```js
 cartStore.$patch((state) => {