diff --git a/src/components/profile/ProfileIdentityRail.tsx b/src/components/profile/ProfileIdentityRail.tsx index c916c59d..af0aff10 100644 --- a/src/components/profile/ProfileIdentityRail.tsx +++ b/src/components/profile/ProfileIdentityRail.tsx @@ -93,7 +93,7 @@ interface ProfileIdentityRailProps { } const RAIL_CAMPAIGN_LIMIT = 2; -const RAIL_ORG_LIMIT = 4; +const RAIL_ORG_LIMIT = 2; /** * ProfileIdentityRail — the left rail of the two-column profile. @@ -798,8 +798,8 @@ function RailOrganizationsSection({ pubkey }: { pubkey: string }) { return (
} title={t('profile.sections.groups')} /> -
- {Array.from({ length: 2 }).map((_, i) => ( +
+ {Array.from({ length: RAIL_ORG_LIMIT }).map((_, i) => ( ))}
@@ -819,7 +819,7 @@ function RailOrganizationsSection({ pubkey }: { pubkey: string }) { title={t('profile.sections.groups')} count={orgs.length} /> -
+
{shown.map((entry) => ( ))}