mirror of
https://github.com/documenso/documenso.git
synced 2025-11-16 01:32:06 +10:00
improved loading state for /document/id
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user