Skip to content

Commit d3950bd

Browse files
authored
Change the onMutate optional description to capitalize.
1 parent 0cdbd5a commit d3950bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/framework/react/reference/useMutation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ mutate(variables, {
5555
- Optional
5656
- A mutation key can be set to inherit defaults set with `queryClient.setMutationDefaults`.
5757
- `networkMode: 'online' | 'always' | 'offlineFirst`
58-
- optional
58+
- Optional
5959
- defaults to `'online'`
6060
- see [Network Mode](../guides/network-mode) for more information.
6161
- `onMutate: (variables: TVariables) => Promise<TContext | void> | TContext | void`

0 commit comments

Comments
 (0)