diff --git a/libs/remix-ui/file-explorer/src/lib/file-explorer-menu.tsx b/libs/remix-ui/file-explorer/src/lib/file-explorer-menu.tsx index eabf61d29e..0b4d89686f 100644 --- a/libs/remix-ui/file-explorer/src/lib/file-explorer-menu.tsx +++ b/libs/remix-ui/file-explorer/src/lib/file-explorer-menu.tsx @@ -46,7 +46,7 @@ export const FileExplorerMenu = (props: FileExplorerMenuProps) => { return ( <> { props.title } - { + { state.menuItems.map(({ action, title, icon }, index) => { if (action === 'uploadFile') { return ( 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 c570de5f07..6f7028f4cb 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 @@ -14,7 +14,7 @@ export const TreeViewItem = (props: TreeViewItemProps) => { return (
  • !controlBehaviour && setIsExpanded(!isExpanded)}> - { children ?
    : icon ?
    : null } + { controlBehaviour ? null : children ?
    : icon ?
    : null } { label }