From 7a44a79c88042e351e42024a7d178a1e8cbd20ed Mon Sep 17 00:00:00 2001 From: Chrystian de Matos <32277095+ChrystianDeMatos@users.noreply.github.com> Date: Sat, 8 Oct 2022 01:46:04 -0300 Subject: [PATCH] docs(mutations): Fix spelling error (#4285) --- 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 a9b13b4bee..9344cc5356 100644 --- a/docs/guides/mutations.md +++ b/docs/guides/mutations.md @@ -300,7 +300,7 @@ const queryClient = new QueryClient({ // we need a default mutation function so that paused mutations can resume after a page reload queryClient.setMutationDefaults(['todos'], { mutationFn: ({ id, data }) => { - return api.upateTodo(id, data) + return api.updateTodo(id, data) }, })