diff --git a/packages/editor/src/components/StructureTree/StructureTree.tsx b/packages/editor/src/components/StructureTree/StructureTree.tsx index 3c18d784..73474add 100644 --- a/packages/editor/src/components/StructureTree/StructureTree.tsx +++ b/packages/editor/src/components/StructureTree/StructureTree.tsx @@ -103,7 +103,9 @@ export const StructureTree: React.FC = props => { - {componentEles.length > 0 ? componentEles : } + {componentEles.length > 0 ? componentEles : ( + + )} );