fix: smart neighbor count for next page caching

This commit is contained in:
TrèsAbhi committed 2023-11-15 12:00:57 -06:00
1 parent 2909e61721
commit 2bb4c78551
1 file changed
+1 -1
+1 -1
View File
@@ -220,7 +220,7 @@ export default function Page() {
cacheNeighbors(
leaderboard[region][season][best.index],
ROWS_PER_PAGE * 3,
2 * (Math.floor(ROWS_PER_PAGE / 2) + best.distance + ROWS_PER_PAGE),
);
} else {
const ids = range(