mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-21 16:27:18 +02:00
Address remaining Greptile nit
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
2d8e615efd
commit
9bf7b1d964
1 file changed
+1
-1
@@ -167,7 +167,7 @@ export async function loadRemainingIssueCommentPages<T extends { id: string }>(p
|
||||
const pages = (params.pages ?? []).map((page) => [...page]);
|
||||
const pageParams = params.pageParams
|
||||
? [...params.pageParams].slice(0, pages.length)
|
||||
: pages.map((_, index) => index === 0 ? null : null);
|
||||
: pages.map(() => null);
|
||||
|
||||
while (pageParams.length < pages.length) {
|
||||
pageParams.push(null);
|
||||
|
||||
Reference in new issue
Block a user