Skip to content

Commit

Permalink
Remove extra wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Nov 11, 2024
1 parent eabb7e8 commit b874669
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/viser/client/src/ControlPanel/SceneTreeTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -345,11 +345,9 @@ const SceneTreeTableRow = React.memo(function SceneTreeTableRow(props: {
onMouseOver={() => setLabelVisibility(props.nodeName, true)}
onMouseOut={() => setLabelVisibility(props.nodeName, false)}
>
<Box style={{ display: "flex" }}>
{new Array(props.indentCount).fill(null).map((_, i) => (
<Box className={tableHierarchyLine} key={i} />
))}
</Box>
{new Array(props.indentCount).fill(null).map((_, i) => (
<Box className={tableHierarchyLine} key={i} />
))}
<Box
style={{
opacity: expandable ? 0.7 : 0.1,
Expand Down

0 comments on commit b874669

Please sign in to comment.