Skip to content

Commit 46eb68e

Browse files
authored
fix(site): typography panel summary stuck on bold (#664)
1 parent 6b64687 commit 46eb68e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/landing/components/selectors/Text/TextSettings.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const TextSettings = () => {
1212
props={['fontSize', 'fontWeight', 'textAlign']}
1313
summary={({ fontSize, fontWeight, textAlign }: any) => {
1414
return `${fontSize || ''}, ${weightDescription(
15-
fontWeight
15+
parseInt(fontWeight)
1616
)}, ${capitalize(textAlign)}`;
1717
}}
1818
>

0 commit comments

Comments
 (0)