Skip to content

Commit 4eee73f

Browse files
phryneasmsutkowski
andcommitted
Apply suggestions from code review
Co-authored-by: Matt Sutkowski <[email protected]>
1 parent e818582 commit 4eee73f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/rtk-query/api/fetchBaseQuery.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ It takes all standard options from fetch's [`RequestInit`](https://developer.moz
3939
- `fetchFn` _(optional)_
4040
- A fetch function that overrides the default on the window. Can be useful in SSR environments where you may need to leverage `isomorphic-fetch` or `cross-fetch`.
4141
- `timeout` _(optional)_
42-
- A number in milliseconds that represents that maximum time a request can take before timing out.
42+
- A number in milliseconds that represents the maximum time a request can take before timing out.
4343

4444
```ts title="Return types of fetchBaseQuery" no-transpile
4545
Promise<{

packages/toolkit/src/query/fetchBaseQuery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ export type FetchBaseQueryMeta = { request: Request; response?: Response }
196196
* @param {string} jsonContentType Defaults to `application/json`. Used when automatically setting the content-type header for a request with a jsonifiable body that does not have an explicit content-type header.
197197
*
198198
* @param {number} timeout
199-
* A number in milliseconds that represents that maximum time a request can take before timing out.
199+
* A number in milliseconds that represents the maximum time a request can take before timing out.
200200
*/
201201
export function fetchBaseQuery({
202202
baseUrl,

0 commit comments

Comments
 (0)