Skip to content

Commit

Permalink
Fix type imports
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson committed Oct 27, 2024
1 parent b97cc98 commit effdb7d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 7 additions & 1 deletion packages/toolkit/src/query/core/buildThunks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import type {
import { calculateProvidedBy, isQueryDefinition } from '../endpointDefinitions'
import { HandledError } from '../HandledError'
import type { UnwrapPromise } from '../tsHelpers'
import type { InfiniteQueryDefinition } from '@internal/query/endpointDefinitions'
import type { InfiniteQueryDefinition } from '../endpointDefinitions'
import type {
RootState,
QueryKeys,
Expand Down Expand Up @@ -554,6 +554,12 @@ export function buildThunks<
existingData,
)

console.log('Next page param: ', {
previous,
param,
existingData,
})

result = await fetchPage(existingData, param, previous)
} else {
// Otherwise, fetch the first page and then any remaining pages
Expand Down
1 change: 0 additions & 1 deletion packages/toolkit/src/query/endpointDefinitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ import type {
OmitFromUnion,
UnwrapPromise,
} from './tsHelpers'
import { AnyARecord } from 'dns'

const resultType = /* @__PURE__ */ Symbol()
const baseQuery = /* @__PURE__ */ Symbol()
Expand Down

0 comments on commit effdb7d

Please sign in to comment.