From d120ec3adea97bcc7e2abd75385e45fc33e12af1 Mon Sep 17 00:00:00 2001 From: Keshav Sharma Date: Sat, 12 Aug 2023 20:41:25 +0530 Subject: [PATCH] docs: typo (#2347) --- packages/docs/core-concepts/state.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => { -- 2.47.2