Skip to content

Commit 0f237bc

Browse files
authored
docs: Update useMutation.md to remove mention of devtools with mutationKey (#5709)
As part of https://tanstack.com/query/v4/docs/react/devtools it mentions that mutations don't appear in the devtools, so we should remove this mention that the mutationKey is used in devtools
1 parent c369169 commit 0f237bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/react/reference/useMutation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ mutate(variables, {
5151
- If set to `Infinity`, will disable garbage collection
5252
- `mutationKey: unknown[]`
5353
- Optional
54-
- A mutation key can be set to inherit defaults set with `queryClient.setMutationDefaults` or to identify the mutation in the devtools.
54+
- A mutation key can be set to inherit defaults set with `queryClient.setMutationDefaults`.
5555
- `networkMode: 'online' | 'always' | 'offlineFirst`
5656
- optional
5757
- defaults to `'online'`

0 commit comments

Comments
 (0)