(page: IssueComment[])
| 92 | |
| 93 | async function renderComments(issue: Issue, timeline: TimelineComponent) { |
| 94 | const renderPage = (page: IssueComment[]) => { |
| 95 | for (const comment of page) { |
| 96 | timeline.insertComment(comment, false); |
| 97 | } |
| 98 | }; |
| 99 | |
| 100 | const pageCount = Math.ceil(issue.comments / PAGE_SIZE); |
| 101 | // always load the first page. |
no test coverage detected