We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d155b7 commit 12baf90Copy full SHA for 12baf90
packages/use-dataloader/src/useInfiniteDataLoader.ts
@@ -199,9 +199,8 @@ export const useInfiniteDataLoader = <
199
isError,
200
isLoading,
201
isSuccess,
202
- hasNextPage: false,
+ hasNextPage: nextPageRef.current !== undefined,
203
isLoadingFirstPage,
204
- pageData: undefined,
205
data: isLoadingFirstPage
206
? initialData
207
: (requestRefs.current
0 commit comments