From: Keshav Sharma Date: Sat, 12 Aug 2023 15:11:25 +0000 (+0530) Subject: docs: typo (#2347) X-Git-Tag: @pinia/nuxt@0.5.0~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d120ec3adea97bcc7e2abd75385e45fc33e12af1;p=thirdparty%2Fvuejs%2Fpinia.git docs: typo (#2347) --- diff --git a/packages/docs/core-concepts/state.md b/packages/docs/core-concepts/state.md index 0e5c561a..91a939b5 100644 --- a/packages/docs/core-concepts/state.md +++ b/packages/docs/core-concepts/state.md @@ -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) => {