Skip to content

Commit 2a8ba49

Browse files
wo-o29manudeli
andauthored
docs: remove unnecessary trailing comma (#9594)
Co-authored-by: Jonghyeon Ko <[email protected]>
1 parent 54efe22 commit 2a8ba49

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

docs/framework/react/reference/hydration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ hydrate(queryClient, dehydratedState, options)
9191
- `mutations: MutationOptions` The default mutation options to use for the hydrated mutations.
9292
- `queries: QueryOptions` The default query options to use for the hydrated queries.
9393
- `deserializeData?: (data: any) => any` A function to transform (deserialize) data before it is put into the cache.
94-
- `queryClient?: QueryClient`,
94+
- `queryClient?: QueryClient`
9595
- Use this to use a custom QueryClient. Otherwise, the one from the nearest context will be used.
9696

9797
### Limitations
@@ -122,7 +122,7 @@ function App() {
122122
- Optional
123123
- `defaultOptions: QueryOptions`
124124
- The default query options to use for the hydrated queries.
125-
- `queryClient?: QueryClient`,
125+
- `queryClient?: QueryClient`
126126
- Use this to use a custom QueryClient. Otherwise, the one from the nearest context will be used.
127127

128128
[//]: # 'HydrationBoundary'

docs/framework/react/reference/useIsFetching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const isFetchingPosts = useIsFetching({ queryKey: ['posts'] })
1616
**Options**
1717

1818
- `filters?: QueryFilters`: [Query Filters](../../guides/filters.md#query-filters)
19-
- `queryClient?: QueryClient`,
19+
- `queryClient?: QueryClient`
2020
- Use this to use a custom QueryClient. Otherwise, the one from the nearest context will be used.
2121

2222
**Returns**

docs/framework/react/reference/useIsMutating.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const isMutatingPosts = useIsMutating({ mutationKey: ['posts'] })
1616
**Options**
1717

1818
- `filters?: MutationFilters`: [Mutation Filters](../../guides/filters.md#mutation-filters)
19-
- `queryClient?: QueryClient`,
19+
- `queryClient?: QueryClient`
2020
- Use this to use a custom QueryClient. Otherwise, the one from the nearest context will be used.
2121

2222
**Returns**

docs/framework/react/reference/useMutation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ mutate(variables, {
103103

104104
**Parameter2 (QueryClient)**
105105

106-
- `queryClient?: QueryClient`,
106+
- `queryClient?: QueryClient`
107107
- Use this to use a custom QueryClient. Otherwise, the one from the nearest context will be used.
108108

109109
**Returns**

docs/framework/react/reference/useMutationState.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const latest = data[data.length - 1]
7272
- `filters?: MutationFilters`: [Mutation Filters](../../guides/filters.md#mutation-filters)
7373
- `select?: (mutation: Mutation) => TResult`
7474
- Use this to transform the mutation state.
75-
- `queryClient?: QueryClient`,
75+
- `queryClient?: QueryClient`
7676
- Use this to use a custom QueryClient. Otherwise, the one from the nearest context will be used.
7777

7878
**Returns**

docs/framework/react/reference/useQueryClient.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ const queryClient = useQueryClient(queryClient?: QueryClient)
1313

1414
**Options**
1515

16-
- `queryClient?: QueryClient`,
16+
- `queryClient?: QueryClient`
1717
- Use this to use a custom QueryClient. Otherwise, the one from the nearest context will be used.

0 commit comments

Comments
 (0)