You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -359,7 +359,7 @@ export default function ComponentMap({
359
359
forceUpdate();
360
360
}}
361
361
/>
362
-
)}
362
+
)}
363
363
{/* This creates the rectangle boxes for each component and sets it relative position to other parent nodes of the same level. */}
364
364
{node.depth!==0&&(
365
365
<rect
@@ -371,9 +371,7 @@ export default function ComponentMap({
371
371
fill={node.children ? '#161521' : '#62d6fb'}
372
372
// node.data.isExpanded = if node is collapsed
373
373
// stroke={(node.data.isExpanded && node.child) ? '#95fb62' : '#a69ff5'} => node.child is gone when clicked, even if it actually has children. Maybe better call node.children => node.leaf
0 commit comments