Skip to content

Commit d595e23

Browse files
authoredJan 26, 2025··
docs: fix variables obtaining path (#8589)
1 parent 0613400 commit d595e23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docs/framework/react/guides/filters.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ await queryClient.isMutating({ mutationKey: ['post'] })
5656

5757
// Filter mutations using a predicate function
5858
await queryClient.isMutating({
59-
predicate: (mutation) => mutation.options.variables?.id === 1,
59+
predicate: (mutation) => mutation.state.variables?.id === 1,
6060
})
6161
```
6262

0 commit comments

Comments
 (0)
Please sign in to comment.