]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: typo (#2347)
authorKeshav Sharma <sharma.keshav39@gmail.com>
Sat, 12 Aug 2023 15:11:25 +0000 (20:41 +0530)
committerGitHub <noreply@github.com>
Sat, 12 Aug 2023 15:11:25 +0000 (17:11 +0200)
packages/docs/core-concepts/state.md

index 0e5c561ac1ffde78e24a2dcd14d87ba5d71f50dc..91a939b520d979bc12ac77cbe2c7b774007eb405 100644 (file)
@@ -199,7 +199,7 @@ store.$patch({
 })
 ```
 
-However, some mutations are really hard or costly to apply with this syntax: any collection modification (e.g. pushing, removing, splicing an element from an array) requires you to create a new collection. Because of this, the `$patch` method also accepts a function to group this kind of mutations that are difficult to apply with a patch object:
+However, some mutations are really hard or costly to apply with this syntax: any collection modification (e.g. pushing, removing, splicing an element from an array) requires you to create a new collection. Because of this, the `$patch` method also accepts a function to group these kind of mutations that are difficult to apply with a patch object:
 
 ```js
 store.$patch((state) => {