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
Fix getFinalValue type
Andrey Okonetchnikovb3357608f048
diff --git a/apps/designer/app/designer/features/style-panel/shared/get-final-value.ts b/apps/designer/app/designer/features/style-panel/shared/get-final-value.tsindex 1a542561d4..5c057fa76e 100644--- a/apps/designer/app/designer/features/style-panel/shared/get-final-value.ts+++ b/apps/designer/app/designer/features/style-panel/shared/get-final-value.ts@@ -10,7 +10,7 @@ export const getFinalValue = ({currentStyle: Style;inheritedStyle: InheritedStyle;property: StyleProperty;-}): StyleValue | void => {+}): StyleValue | undefined => {const currentValue = currentStyle[property];const inheritedValue =property in inheritedStyle ? inheritedStyle[property].value : undefined;