diff --git a/libs/remix-ui/tree-view/src/lib/tree-view-item/tree-view-item.tsx b/libs/remix-ui/tree-view/src/lib/tree-view-item/tree-view-item.tsx index 893a5825cc..c570de5f07 100644 --- a/libs/remix-ui/tree-view/src/lib/tree-view-item/tree-view-item.tsx +++ b/libs/remix-ui/tree-view/src/lib/tree-view-item/tree-view-item.tsx @@ -16,7 +16,7 @@ export const TreeViewItem = (props: TreeViewItemProps) => {
!controlBehaviour && setIsExpanded(!isExpanded)}> { children ?
: icon ?
: null } - { label } {`treeViewLi${id}`} + { label }
{ isExpanded ? children : null }