From a4b6d6a045f2868830e8590fc3bbccf8d3dae00a Mon Sep 17 00:00:00 2001 From: MaziyarMK Date: Tue, 25 Jun 2024 14:33:49 +0400 Subject: [PATCH] bug fix: Typography panel summary stuck on "Bold" --- 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)}`; }} >