Skip to content

Commit

Permalink
rm typo
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbull committed Dec 23, 2024
1 parent 7da5042 commit 3f07944
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/group-highlights-by-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ const groupHighlightsByPage = (
...highlight.position.rects.map((rect) => rect.pageNumber || 0),
];

// remove potential duplicate page numbers due from
// text highlights
// remove potential duplicate page numbers from text highlights
const uniquePageNumbers = new Set(pageNumbers);

uniquePageNumbers.forEach((pageNumber) => {
Expand Down

0 comments on commit 3f07944

Please sign in to comment.