Skip to content

Commit

Permalink
docs: Update updates-from-mutation-responses.md (TanStack#759)
Browse files Browse the repository at this point in the history
  • Loading branch information
orther authored Jul 15, 2020
1 parent ba48a92 commit ef9d47b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ mutate({
const { status, data, error } = useQuery(['todo', { id: 5 }], fetchTodoByID)
```

You might want to tight the `onSuccess` logic into a reusable mutation, for that you can
You might want to tie the `onSuccess` logic into a reusable mutation, for that you can
create a custom hook like this:

```js
Expand Down

0 comments on commit ef9d47b

Please sign in to comment.