diff --git a/GraphsList.tsx b/GraphsList.tsx index c7a1dd4..1ce01d6 100644 --- a/GraphsList.tsx +++ b/GraphsList.tsx @@ -45,7 +45,7 @@ export default function GraphsList() { if (end) return; const newOffset = offset + LIMIT; console.log(`${GraphsList.name}.next:`, { offset, newOffset, term }); - const newBests = await getBestSets({ term, offset }); + const newBests = await getBestSets({ term, offset: newOffset }); if (newBests.length === 0) return setEnd(true); if (!bests) return; setBests([...bests, ...newBests]);