Skip to content

Commit 58b3de8

Browse files
authored
doc: Change the onMutate optional description to capitalize. (TanStack#6773)
1 parent 8657a4e commit 58b3de8

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)