fix(base): remove maxPages cap that caused infinite scroll loop past row 500

This commit is contained in:
Philipinho
2026-04-18 13:26:25 +01:00
parent 6d9107b727
commit 2ececc8203
@@ -67,10 +67,6 @@ export function useBaseRowsQuery(
getNextPageParam: (lastPage: IPagination<IBaseRow>) =>
lastPage.meta?.nextCursor ?? undefined,
staleTime: 5 * 60 * 1000,
// Cap cached pages so an invalidate after a type-conversion refetches
// a bounded set instead of serially re-requesting every page the user
// has ever scrolled through.
maxPages: 5,
});
}