diff --git a/apps/web/app/components/hub-sidebar.tsx b/apps/web/app/components/hub-sidebar.tsx index 9120ff5c..732a2d38 100644 --- a/apps/web/app/components/hub-sidebar.tsx +++ b/apps/web/app/components/hub-sidebar.tsx @@ -8,7 +8,6 @@ import { SidebarMenu, SidebarMenuItem, SidebarMenuButton, - SidebarMenuAction, } from "@multica/ui/components/ui/sidebar" import { Button } from "@multica/ui/components/ui/button" import { HugeiconsIcon } from "@hugeicons/react" @@ -73,24 +72,26 @@ export function HubSidebar() { )} {agents.map(agent => ( - - setActiveAgentId(agent.id)} - className="font-mono text-xs truncate" - > - {agent.id} - - { - if (activeAgentId === agent.id) setActiveAgentId(null) - deleteAgent(agent.id) - }} - title="Delete agent" - > - - + +
+ setActiveAgentId(agent.id)} + className="font-mono text-xs flex-1 min-w-0" + > + {agent.id} + + +
))}