We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8484c0e + 2036119 commit ec49920Copy full SHA for ec49920
packages/ui-components/src/infinite-scroll.ts
@@ -160,8 +160,8 @@ function InfiniteScrollView<T>(props: InfiniteScrollProps<T>) {
160
delay,
161
} = props;
162
const { get } = useAPIActions();
163
- const {
164
- getCount = () => null,
+ const {
+ getCount = () => null,
165
getNextParams = (response, params) => {
166
const lastPage = params.page ?? 0;
167
return { ...params, page: lastPage + 1 };
0 commit comments