Skip to content

Commit e200c99

Browse files
authored
docs: Update invalidations-from-mutations.md (#1057)
Remove unnecessary parenthesis
1 parent 5d05464 commit e200c99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/pages/docs/guides/invalidations-from-mutations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ The promise returned by `mutate()` can be helpful as well for performing more gr
4949
const [mutate] = useMutation(addTodo, {
5050
onSuccess: async () => {
5151
console.log("I'm first!")
52-
}),
52+
},
5353
onSettled: async () => {
5454
console.log("I'm second!")
55-
})
55+
}
5656
})
5757

5858
const run = async () => {

0 commit comments

Comments
 (0)