Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

improvement: use ten rows for loading skeleton

Scott Wilson7c8885db6d0e
diff --git a/frontend/src/pages/project/AccessControlPage/components/ProjectRoleListTab/components/ProjectRoleList/ProjectRoleList.tsx b/frontend/src/pages/project/AccessControlPage/components/ProjectRoleListTab/components/ProjectRoleList/ProjectRoleList.tsx
index b6d6d591c7..44ed739c35 100644
--- a/frontend/src/pages/project/AccessControlPage/components/ProjectRoleListTab/components/ProjectRoleList/ProjectRoleList.tsx
+++ b/frontend/src/pages/project/AccessControlPage/components/ProjectRoleListTab/components/ProjectRoleList/ProjectRoleList.tsx
@@ -267,7 +267,7 @@ export const ProjectRoleList = () => {
</UnstableTableHeader>
<UnstableTableBody>
{isRolesLoading &&
- Array.from({ length: perPage }).map((_, i) => (
+ Array.from({ length: 10 }).map((_, i) => (
<UnstableTableRow key={`skeleton-${i + 1}`}>
<UnstableTableCell>
<Skeleton className="h-4 w-full" />