Skip to content

Commit 428c19f

Browse files
wo-o29manudeli
andauthored
docs: update mutation status type (#9595)
Co-authored-by: Jonghyeon Ko <[email protected]>
1 parent 2a8ba49 commit 428c19f

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
@@ -128,7 +128,7 @@ mutate(variables, {
128128
- If you make multiple requests, `onSuccess` will fire only after the latest call you've made.
129129
- `mutateAsync: (variables: TVariables, { onSuccess, onSettled, onError }) => Promise<TData>`
130130
- Similar to `mutate` but returns a promise which can be awaited.
131-
- `status: string`
131+
- `status: MutationStatus`
132132
- Will be:
133133
- `idle` initial status prior to the mutation function executing.
134134
- `pending` if the mutation is currently executing.

0 commit comments

Comments
 (0)