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 a1b1279 commit ad0ca9fCopy full SHA for ad0ca9f
docs/framework/react/typescript.md
@@ -250,8 +250,8 @@ function groupMutationOptions() {
250
}
251
252
useMutation({
253
- ...groupMutationOptions()
254
- onSuccess: () => queryClient.invalidateQueries({ queryKey: ['groups'] })
+ ...groupMutationOptions(),
+ onSuccess: () => queryClient.invalidateQueries({ queryKey: ['groups'] }),
255
})
256
useIsMutating(groupMutationOptions())
257
queryClient.isMutating(groupMutationOptions())
0 commit comments