From 15ee44019ad580f62717b2981d68df0a1c745635 Mon Sep 17 00:00:00 2001 From: Beverly Cheak Date: Thu, 3 Nov 2022 14:14:11 +1100 Subject: [PATCH] docs: typo in mutations.md --- docs/guides/mutations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/mutations.md b/docs/guides/mutations.md index 26d990a076..afc1f6b319 100644 --- a/docs/guides/mutations.md +++ b/docs/guides/mutations.md @@ -290,7 +290,7 @@ queryClient.resumePausedMutations() If you persist offline mutations with the [persistQueryClient plugin](../plugins/persistQueryClient), mutations cannot be resumed when the page is reloaded unless you provide a default mutation function. -This is a technical limitation. When persisting to an external storage, only the state of mutations is persisted, as functions cannot be serialized. After hydration, the component that triggeres the mutation might not be mounted, so calling `resumePausedMutations` might yield an error: `No mutationFn found`. +This is a technical limitation. When persisting to an external storage, only the state of mutations is persisted, as functions cannot be serialized. After hydration, the component that triggers the mutation might not be mounted, so calling `resumePausedMutations` might yield an error: `No mutationFn found`. ```tsx const persister = createSyncStoragePersister({