From d3950bd36224c285c73de67da8e6488def98d385 Mon Sep 17 00:00:00 2001 From: Jeong-Sik Yun <45959991+jeong-sik@users.noreply.github.com> Date: Fri, 26 Jan 2024 10:46:23 +0900 Subject: [PATCH] Change the onMutate optional description to capitalize. --- docs/framework/react/reference/useMutation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/react/reference/useMutation.md b/docs/framework/react/reference/useMutation.md index 1c7c63af2a..0165ae0c14 100644 --- a/docs/framework/react/reference/useMutation.md +++ b/docs/framework/react/reference/useMutation.md @@ -55,7 +55,7 @@ mutate(variables, { - Optional - A mutation key can be set to inherit defaults set with `queryClient.setMutationDefaults`. - `networkMode: 'online' | 'always' | 'offlineFirst` - - optional + - Optional - defaults to `'online'` - see [Network Mode](../guides/network-mode) for more information. - `onMutate: (variables: TVariables) => Promise | TContext | void`