We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e81cb47 commit 98d2cdcCopy full SHA for 98d2cdc
docs/src/pages/guides/updates-from-mutation-responses.md
@@ -19,7 +19,7 @@ mutation.mutate({
19
20
// The query below will be updated with the response from the
21
// successful mutation
22
-const { status, data, error } = useQuery(['todo', { id: 5 }], fetchTodoByID)
+const { status, data, error } = useQuery(['todo', { id: 5 }], fetchTodoById)
23
```
24
25
You might want to tie the `onSuccess` logic into a reusable mutation, for that you can
0 commit comments