Skip to content

Commit 8d0c8d6

Browse files
committed
fix(clerk-js): Revert change of mainIdentifierVariant for OrganizationPreview
1 parent 7774ad8 commit 8d0c8d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/clerk-js/src/ui/elements/OrganizationPreview.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export const OrganizationPreview = (props: OrganizationPreviewProps) => {
4444
const unlocalizedRoleLabel = options?.find(a => a.value === membership?.role)?.label;
4545

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

4949
return (
5050
<Flex

0 commit comments

Comments
 (0)