mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-17 16:20:03 +00:00
Added loading animation for config pages
This commit is contained in:
@@ -111,10 +111,16 @@ export function LibraryManagement() {
|
|||||||
|
|
||||||
if (!isInitialized.current) {
|
if (!isInitialized.current) {
|
||||||
return (
|
return (
|
||||||
<>
|
[...Array(4)].map((e, i) =>
|
||||||
<Skeleton className="h-3 w-3/5 rounded-md"/>
|
<div className="flex flex-col flex-grow gap-8 mb-12" key={i}>
|
||||||
<Skeleton className="h-3 w-4/5 rounded-md"/>
|
<Skeleton className="h-10 w-full rounded-md"/>
|
||||||
</>
|
<Skeleton className="h-12 flex w-1/3 rounded-md"/>
|
||||||
|
<div className="flex flex-row gap-8">
|
||||||
|
<Skeleton className="h-12 flex w-1/3 rounded-md"/>
|
||||||
|
<Skeleton className="h-12 flex w-1/3 rounded-md"/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user