Skip to content

Commit f1300bf

Browse files
committed
docs: fix spelling errors of 'extra'
1 parent 47ded5a commit f1300bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/rtk-query/api/createApi.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ export const { useGetPokemonByNameQuery } = pokemonApi
7272
#### baseQuery function arguments
7373

7474
- `args` - The return value of the `query` function for a given endpoint
75-
- `api` - The `BaseQueryApi` object, containing `signal`, `dispatch` and `getState` properties
75+
- `api` - The `BaseQueryApi` object, containing `signal`, `dispatch`, `getState` and `extra` properties
7676
- `signal` - An [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) object that may be used to abort DOM requests and/or read whether the request is aborted.
7777
- `dispatch` - The `store.dispatch` method for the corresponding Redux store
7878
- `getState` - A function that may be called to access the current store state
79-
- `exta` - Provided as thunk.extraArgument to the configureStore getDefaultMiddleware option.
79+
- `extra` - Provided as thunk.extraArgument to the configureStore getDefaultMiddleware option.
8080
- `extraOptions` - The value of the optional `extraOptions` property provided for a given endpoint
8181

8282
#### baseQuery function signature

0 commit comments

Comments
 (0)