Simplify Nostr Settings loading skeleton

This commit is contained in:
Alex Gleason committed 2025-09-27 14:48:06 -05:00
1 parent e9c73693ce
commit e8156243d0
1 file changed
+6 -8
+6 -8
View File
@@ -92,15 +92,13 @@ export function NostrSettings() {
{isLoading ? (
<div className="border rounded-lg overflow-hidden">
{/* Loading skeleton for accounts */}
{[...Array(2)].map((_, i) => (
<div key={i} className="flex items-center gap-3 p-3 border-b last:border-b-0">
<Skeleton className="h-10 w-10 rounded-full" />
<div className="flex-1 space-y-1">
<Skeleton className="h-4 w-32" />
</div>
<Skeleton className="h-8 w-8 rounded" />
<div className="flex items-center gap-3 p-3 border-b last:border-b-0">
<Skeleton className="h-10 w-10 rounded-full" />
<div className="flex-1 space-y-1">
<Skeleton className="h-4 w-32" />
</div>
))}
<Skeleton className="h-8 w-8 rounded" />
</div>
{/* Add account button skeleton */}
<div className="flex items-center gap-3 p-3">
<Skeleton className="h-10 w-10 rounded-full" />