diff --git a/desktop/plugins/public/ui-debugger/components/tree/Tree.tsx b/desktop/plugins/public/ui-debugger/components/tree/Tree.tsx index 051fd26ce..819281804 100644 --- a/desktop/plugins/public/ui-debugger/components/tree/Tree.tsx +++ b/desktop/plugins/public/ui-debugger/components/tree/Tree.tsx @@ -237,7 +237,7 @@ export function Tree2({ } }}> {rowVirtualizer.getVirtualItems().map((virtualRow) => ( - )} - {nodeIcon(treeNode)} - + {treeNode.frameworkEvents && ( )} - + ); } -function TreeItemRowContent({treeNode}: {treeNode: TreeNode}) { +function TreeNodeTextContent({treeNode}: {treeNode: TreeNode}) { return ( <> @@ -407,7 +407,7 @@ function InlineAttributes({attributes}: {attributes: Record}) { const TreeItemHeight = '26px'; const HalfTreeItemHeight = `calc(${TreeItemHeight} / 2)`; -const TreeItemRow = styled.li<{ +const TreeNodeContent = styled.li<{ item: TreeNode; isHovered: boolean; isSelected: boolean;