diff --git a/src/components/document-viewer.tsx b/src/components/document-viewer.tsx index 807229a..c0667ee 100644 --- a/src/components/document-viewer.tsx +++ b/src/components/document-viewer.tsx @@ -125,7 +125,7 @@ function DocumentViewer(props: { id: number }) { return ; } - if (pdfUrl) { + if (!pdfUrl) { return (