Skip to content

Commit

Permalink
fix(clerk-js): Revert change of mainIdentifierVariant for Organizatio…
Browse files Browse the repository at this point in the history
…nPreview
  • Loading branch information
octoper authored Feb 6, 2024
1 parent 369f708 commit 6d0269d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/clerk-js/src/ui/elements/OrganizationPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const OrganizationPreview = (props: OrganizationPreviewProps) => {
const unlocalizedRoleLabel = options?.find(a => a.value === membership?.role)?.label;

const mainTextSize =
mainIdentifierVariant || ({ xs: 'subtitle', sm: 'caption', md: 'subtitle', lg: 'h3' } as const)[size];
mainIdentifierVariant || ({ xs: 'subtitle', sm: 'caption', md: 'subtitle', lg: 'h1' } as const)[size];

return (
<Flex
Expand Down

0 comments on commit 6d0269d

Please sign in to comment.