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