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.
variables
1 parent 0613400 commit d595e23Copy full SHA for d595e23
docs/framework/react/guides/filters.md
@@ -56,7 +56,7 @@ await queryClient.isMutating({ mutationKey: ['post'] })
56
57
// Filter mutations using a predicate function
58
await queryClient.isMutating({
59
- predicate: (mutation) => mutation.options.variables?.id === 1,
+ predicate: (mutation) => mutation.state.variables?.id === 1,
60
})
61
```
62
0 commit comments