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: Do not use shorthand syntax for controls
Andrey Okonetchnikovf9d7a4742ecf
diff --git a/app/designer/features/props-panel/props-panel.tsx b/app/designer/features/props-panel/props-panel.tsxindex 8d29ebc7b2..ab37d658bf 100644--- a/app/designer/features/props-panel/props-panel.tsx+++ b/app/designer/features/props-panel/props-panel.tsx@@ -130,7 +130,7 @@ const renderControl = ({const argType = meta?.argTypes?.[prop as keyof typeof meta.argTypes];- switch (argType?.control) {+ switch (argType?.control.type) {case "text": {return <TextControl {...props} defaultValue={argType.defaultValue} />;}@@ -246,7 +246,6 @@ export const PropsPanel = ({<PlusIcon /></Button>);-return (<><Box css={{ p: "$2" }}>