diff --git a/src/pages/documents/[id].tsx b/src/pages/documents/[id].tsx index 941aa86..c12d121 100644 --- a/src/pages/documents/[id].tsx +++ b/src/pages/documents/[id].tsx @@ -125,7 +125,7 @@ const Documents: React.FC = () => {

- {loading && + {(loading || !document) && currentDocumentID && !documentLoadError && } @@ -155,6 +155,7 @@ const Documents: React.FC = () => { } + ) }