mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-13 17:52:38 +02:00
refactor: enhance loading skeleton UI in GenerateReport
This commit is contained in:
parent
3cee59e024
commit
74ef4bb414
1 changed files with 3 additions and 1 deletions
|
|
@ -63,10 +63,12 @@ type GenerateReportResult = z.infer<typeof GenerateReportResultSchema>;
|
|||
|
||||
function ContentSkeleton() {
|
||||
return (
|
||||
<div className="space-y-2">
|
||||
<div className="h-[7rem] space-y-2">
|
||||
<div className="h-3 w-full rounded bg-muted/60 animate-pulse" />
|
||||
<div className="h-3 w-[92%] rounded bg-muted/60 animate-pulse [animation-delay:100ms]" />
|
||||
<div className="h-3 w-[75%] rounded bg-muted/60 animate-pulse [animation-delay:200ms]" />
|
||||
<div className="h-3 w-[85%] rounded bg-muted/60 animate-pulse [animation-delay:300ms]" />
|
||||
<div className="h-3 w-[60%] rounded bg-muted/60 animate-pulse [animation-delay:400ms]" />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue