Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
naming
Oleg Isonen9a6ada7f3488
diff --git a/apps/designer/app/designer/features/style-panel/controls/font-weight/font-weight-control.tsx b/apps/designer/app/designer/features/style-panel/controls/font-weight/font-weight-control.tsxindex 370d03ccbe..635250dc9f 100644--- a/apps/designer/app/designer/features/style-panel/controls/font-weight/font-weight-control.tsx+++ b/apps/designer/app/designer/features/style-panel/controls/font-weight/font-weight-control.tsx@@ -13,7 +13,7 @@ const allFontWeights = (Object.keys(fontWeights) as Array<FontWeight>).map(}));-const useFontWeightOptions = (currentFamily: string, currentWeight: string) => {+const useFontWeights = (currentFamily: string, currentWeight: string) => {const { assets } = useAssets("font");// Find all font weights that are available for the current font family.@@ -66,7 +66,7 @@ export const FontWeightControl = ({property: "fontFamily",});- const { labels, selectedLabel, availableFontWeights } = useFontWeightOptions(+ const { labels, selectedLabel, availableFontWeights } = useFontWeights(toValue(fontFamily),toValue(fontWeight));