Skip to content

Commit

Permalink
Merge branch 'main' of github.com:DIPSAS/hello-open-dips
Browse files Browse the repository at this point in the history
  • Loading branch information
sofiejoha committed Jun 26, 2024
2 parents 4072b81 + cc7fd2c commit 74c9015
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/documents/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const Documents: React.FC = () => {
</p>
</div>
</div>
{loading &&
{(loading || !document) && currentDocumentID && !documentLoadError &&
<span className={loadingstyles.loader}>
<Spinner />
</span>}
Expand Down Expand Up @@ -155,6 +155,7 @@ const Documents: React.FC = () => {

</div>
}

</div>
)
}
Expand Down

0 comments on commit 74c9015

Please sign in to comment.