Skip to content

Commit

Permalink
docs(mutations): Fix spelling error (#4285)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrystianDeMatos authored Oct 8, 2022
1 parent 31ef31c commit 7a44a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/mutations.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
},
})

Expand Down

0 comments on commit 7a44a79

Please sign in to comment.