From 46eb68ef54a036f06c9433ee74b2359a8f38c610 Mon Sep 17 00:00:00 2001 From: MaziyarMK Date: Wed, 26 Jun 2024 10:40:52 +0400 Subject: [PATCH] fix(site): typography panel summary stuck on bold (#664) --- examples/landing/components/selectors/Text/TextSettings.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/landing/components/selectors/Text/TextSettings.tsx b/examples/landing/components/selectors/Text/TextSettings.tsx index b26a18f62..1e6e6b92d 100644 --- a/examples/landing/components/selectors/Text/TextSettings.tsx +++ b/examples/landing/components/selectors/Text/TextSettings.tsx @@ -12,7 +12,7 @@ export const TextSettings = () => { props={['fontSize', 'fontWeight', 'textAlign']} summary={({ fontSize, fontWeight, textAlign }: any) => { return `${fontSize || ''}, ${weightDescription( - fontWeight + parseInt(fontWeight) )}, ${capitalize(textAlign)}`; }} >