From f8cf019c7e930750c19cd443dd53eb8a4694513c Mon Sep 17 00:00:00 2001 From: Daniel Reinoso Date: Tue, 8 Nov 2022 11:00:53 -0300 Subject: [PATCH] docs: typo in "immutable" Fix typo in updates-from-mutation-responses.md --- docs/guides/updates-from-mutation-responses.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/updates-from-mutation-responses.md b/docs/guides/updates-from-mutation-responses.md index 9acc8614c5..79ab2bd958 100644 --- a/docs/guides/updates-from-mutation-responses.md +++ b/docs/guides/updates-from-mutation-responses.md @@ -47,7 +47,7 @@ const useMutateTodo = () => { ## Immutability -Updates via `setQueryData` must be performed in an _immuatable_ way. **DO NOT** attempt to write directly to the cache by mutating data (that you retrieved via from the cache) in place. It might work at first but can lead to subtle bugs along the way. +Updates via `setQueryData` must be performed in an _immutable_ way. **DO NOT** attempt to write directly to the cache by mutating data (that you retrieved via from the cache) in place. It might work at first but can lead to subtle bugs along the way. ```tsx queryClient.setQueryData(