Skip to content

Commit

Permalink
docs: Update invalidations-from-mutations.md (#1057)
Browse files Browse the repository at this point in the history
Remove unnecessary parenthesis
  • Loading branch information
chadwithuhc committed Sep 18, 2020
1 parent 5d05464 commit e200c99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/pages/docs/guides/invalidations-from-mutations.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ The promise returned by `mutate()` can be helpful as well for performing more gr
const [mutate] = useMutation(addTodo, {
onSuccess: async () => {
console.log("I'm first!")
}),
},
onSettled: async () => {
console.log("I'm second!")
})
}
})

const run = async () => {
Expand Down

1 comment on commit e200c99

@vercel
Copy link

@vercel vercel bot commented on e200c99 Sep 18, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.