diff --git a/desktop/src/features/chat/ui/ChatHeader.tsx b/desktop/src/features/chat/ui/ChatHeader.tsx index 92477d0a2..1421b5cfe 100644 --- a/desktop/src/features/chat/ui/ChatHeader.tsx +++ b/desktop/src/features/chat/ui/ChatHeader.tsx @@ -8,7 +8,6 @@ import { Hash, House, Lock, - MessageCircle, Zap, } from "lucide-react"; import type * as React from "react"; @@ -78,10 +77,6 @@ function ChannelIcon({ return ; } - if (mode === "chats") { - return ; - } - if (mode === "workflows") { return ; } @@ -153,15 +148,18 @@ export function ChatHeader({
-
- {leadingContent ?? ( - - )} -
+ {/* Chats render no leading icon — the title stands alone. */} + {leadingContent || mode !== "chats" ? ( +
+ {leadingContent ?? ( + + )} +
+ ) : null}