diff --git a/packages/mana-app/src/tree/view/tree-view.tsx b/packages/mana-app/src/tree/view/tree-view.tsx index d75d7d1..ab40002 100644 --- a/packages/mana-app/src/tree/view/tree-view.tsx +++ b/packages/mana-app/src/tree/view/tree-view.tsx @@ -132,28 +132,34 @@ export const TreeViewComponent = forwardRef( const rows = Array.from(treeView.rows.values()); const TreeRow = treeView.treeRowComponent; return ( -
)} + } > - ( - - )} - scrollToIndex={treeView.scrollToRow} - onScroll={treeView.handleScroll.bind(treeView)} - tabIndex={-1} - style={{ - overflow: 'auto', - }} - /> -
+
)} + > + ( + + )} + scrollToIndex={treeView.scrollToRow} + onScroll={treeView.handleScroll.bind(treeView)} + tabIndex={-1} + style={{ + overflow: 'auto', + }} + /> +
+ ); }, ); @@ -288,8 +294,8 @@ export class TreeView extends BaseView implements StatefulView { parentDepth === undefined ? 0 : TreeNode.isVisible(node.parent) - ? parentDepth + 1 - : parentDepth; + ? parentDepth + 1 + : parentDepth; if (CompositeTreeNode.is(node)) { depths.set(node, depth); }