-
{label}:
-
{children}
+
+
+ {accordionState ? content : undefined}
);
};
diff --git a/src/components/shapeInspectorPanel/ClipInspector.tsx b/src/components/shapeInspectorPanel/ClipInspector.tsx
index 4f4c49f0..9cf6e3b6 100644
--- a/src/components/shapeInspectorPanel/ClipInspector.tsx
+++ b/src/components/shapeInspectorPanel/ClipInspector.tsx
@@ -41,7 +41,7 @@ export const ClipInspector: React.FC
= ({ targetShape, updateTargetShape,
);
return (
-
+
diff --git a/src/components/shapeInspectorPanel/GroupConstraintInspector.tsx b/src/components/shapeInspectorPanel/GroupConstraintInspector.tsx
index 9cc373c1..f7c46b25 100644
--- a/src/components/shapeInspectorPanel/GroupConstraintInspector.tsx
+++ b/src/components/shapeInspectorPanel/GroupConstraintInspector.tsx
@@ -35,7 +35,7 @@ export const GroupConstraintInspector: React.FC = ({ targetShape, updateT
);
return (
-
+
{gcIcons.map((icon, i) => (