Skip to content

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.

Remove nullity check

Andrey Okonetchnikov8e159671f6dd
diff --git a/apps/designer/app/designer/features/props-panel/props-panel.tsx b/apps/designer/app/designer/features/props-panel/props-panel.tsx
index 5168971340..f6b1228344 100644
--- a/apps/designer/app/designer/features/props-panel/props-panel.tsx
+++ b/apps/designer/app/designer/features/props-panel/props-panel.tsx
@@ -27,9 +27,6 @@ const Property = ({
onDelete,
}: PropertyProps) => {
const meta = componentsMeta[component];
- if (!meta) {
- return "Unknown component";
- }
const argType = meta.argTypes?.[prop as keyof typeof meta.argTypes];
const isInvalidProp =
prop.length > 0 &&