improved loading state for /document/id

This commit is contained in:
Doug Andrade
2023-06-13 23:28:25 -04:00
committed by Mythie
parent 5442e82ae7
commit 814a6174e3
4 changed files with 33 additions and 5 deletions

View File

@ -22,7 +22,7 @@ const PDFViewer = dynamic(async () => import('~/components/(dashboard)/pdf-viewe
ssr: false,
loading: () => (
<div className="dark:bg-background flex min-h-[80vh] flex-col items-center justify-center bg-white/50">
<Loader className="text-muted-foreground h-12 w-12 animate-spin" />
<Loader className="text-documenso h-12 w-12 animate-spin" />
<p className="text-muted-foreground mt-4">Loading document...</p>
</div>