Skip to content

Commit effdb7d

Browse files
committed
Fix type imports
1 parent b97cc98 commit effdb7d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

packages/toolkit/src/query/core/buildThunks.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import type {
2727
import { calculateProvidedBy, isQueryDefinition } from '../endpointDefinitions'
2828
import { HandledError } from '../HandledError'
2929
import type { UnwrapPromise } from '../tsHelpers'
30-
import type { InfiniteQueryDefinition } from '@internal/query/endpointDefinitions'
30+
import type { InfiniteQueryDefinition } from '../endpointDefinitions'
3131
import type {
3232
RootState,
3333
QueryKeys,
@@ -554,6 +554,12 @@ export function buildThunks<
554554
existingData,
555555
)
556556

557+
console.log('Next page param: ', {
558+
previous,
559+
param,
560+
existingData,
561+
})
562+
557563
result = await fetchPage(existingData, param, previous)
558564
} else {
559565
// Otherwise, fetch the first page and then any remaining pages

packages/toolkit/src/query/endpointDefinitions.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ import type {
3535
OmitFromUnion,
3636
UnwrapPromise,
3737
} from './tsHelpers'
38-
import { AnyARecord } from 'dns'
3938

4039
const resultType = /* @__PURE__ */ Symbol()
4140
const baseQuery = /* @__PURE__ */ Symbol()

0 commit comments

Comments
 (0)