fix: directory pager

This commit is contained in:
shadcn
2026-04-08 17:05:50 +04:00
parent e9546e87ff
commit 024425d45a

View File

@@ -325,7 +325,7 @@ function DirectoryListSkeleton() {
<>
<Skeleton className="h-8 w-full rounded-lg" />
<ItemGroup className="my-8">
{Array.from({ length: 5 }, (_, index) => (
{Array.from({ length: 10 }, (_, index) => (
<React.Fragment key={index}>
<Item className="relative items-start gap-6 px-0">
<Skeleton className="size-8 rounded-lg" />
@@ -342,7 +342,7 @@ function DirectoryListSkeleton() {
<Skeleton className="h-9 w-24 rounded-lg" />
</ItemFooter>
</Item>
{index < 4 && <ItemSeparator className="my-1" />}
{index < 9 && <ItemSeparator className="my-1" />}
</React.Fragment>
))}
</ItemGroup>