Fix some lint

This commit is contained in:
Gregory Schier
2026-03-13 07:36:26 -07:00
parent 7f4eedd630
commit e4103f1a4a
13 changed files with 18 additions and 17 deletions

View File

@@ -56,7 +56,7 @@ export function PdfViewer({ bodyPath, data }: Props) {
externalLinkTarget="_blank"
externalLinkRel="noopener noreferrer"
>
{Array.from(new Array(numPages), (_, index) => (
{Array.from({ length: numPages }, (_, index) => (
<Page
className="mb-6 select-all"
renderTextLayer