Skip to content
This repository was archived by the owner on Nov 23, 2024. It is now read-only.

Commit 066032c

Browse files
committed
Remove comment
1 parent a2d2f7a commit 066032c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/fetchBaseQuery.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ const defaultValidateStatus = (response: Response) => response.status >= 200 &&
1414

1515
const isJsonContentType = (headers: Headers) => headers.get('content-type')?.trim()?.startsWith('application/json');
1616

17-
// note: and fetchBaseQuery should probably have a prepareHeaders method option --- baseQuery has access to thunkApi aka (dispatch, getState)
1817
export function fetchBaseQuery({ baseUrl }: { baseUrl?: string } = {}) {
1918
return async (arg: string | FetchArgs, { signal, rejectWithValue }: QueryApi) => {
2019
let {

0 commit comments

Comments
 (0)