😶‍🌫️ refactor: Conditionally Hide Tools Dropdown (#9530)

This commit is contained in:
Dustin Healy 2025-09-09 16:57:50 -07:00 committed by GitHub
parent 751c2e1d17
commit 957fa7a994
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -293,6 +293,10 @@ const ToolsDropdown = ({ disabled }: ToolsDropdownProps) => {
});
}
if (dropdownItems.length === 0) {
return null;
}
const menuTrigger = (
<TooltipAnchor
render={