Skip to content

Commit

Permalink
docs: fix variables obtaining path
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-danylchenko committed Jan 26, 2025
1 parent 0613400 commit fb09f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/framework/react/guides/filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ await queryClient.isMutating({ mutationKey: ['post'] })

// Filter mutations using a predicate function
await queryClient.isMutating({
predicate: (mutation) => mutation.options.variables?.id === 1,
predicate: (mutation) => mutation.state.variables?.id === 1,
})
```

Expand Down

0 comments on commit fb09f44

Please sign in to comment.