More fixes

This commit is contained in:
Gregory Schier
2026-03-13 08:32:40 -07:00
parent 21f775741a
commit 560c4667e4
2 changed files with 2 additions and 3 deletions

View File

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