Skip to content

Commit 9053fc1

Browse files
raptisjSokratisVidros
authored andcommitted
fix(clerk-js): Add memberships widget in invite tab
1 parent 99a4f27 commit 9053fc1

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

packages/clerk-js/src/ui/components/OrganizationProfile/OrganizationMembers.tsx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,16 @@ export const OrganizationMembers = withCardStateProvider(() => {
8888
</TabPanel>
8989
{isAdmin && (
9090
<TabPanel sx={{ width: '100%' }}>
91-
<InvitedMembersList />
91+
<Flex
92+
sx={t => ({
93+
flexDirection: 'column',
94+
width: '100%',
95+
marginTop: __unstable_manageBillingUrl ? t.space.$4 : 0,
96+
})}
97+
>
98+
{isAdmin && __unstable_manageBillingUrl && <MembershipWidget />}
99+
<InvitedMembersList />
100+
</Flex>
92101
</TabPanel>
93102
)}
94103
</TabPanels>

0 commit comments

Comments
 (0)