@@ -14,7 +14,7 @@ import { DecoChatAside } from "@deco/ui/components/deco-chat-aside.tsx";
1414import { DecoChatEmptyState } from "@deco/ui/components/deco-chat-empty-state.tsx" ;
1515import { DecoChatInputV2 } from "@deco/ui/components/deco-chat-input-v2.tsx" ;
1616import { DecoChatModelSelectorRich } from "@deco/ui/components/deco-chat-model-selector-rich.tsx" ;
17- import { Icon } from "@deco/ui/components/icon.tsx " ;
17+ import { X , Plus , CpuChip02 } from "@untitledui/icons " ;
1818import { Metadata } from "@deco/ui/types/chat-metadata.ts" ;
1919import { useNavigate } from "@tanstack/react-router" ;
2020import { type ChatInit , DefaultChatTransport , type UIMessage } from "ai" ;
@@ -301,7 +301,7 @@ export function ChatPanel() {
301301 title : gateway . title ,
302302 icon : gateway . icon ,
303303 description : gateway . description ,
304- fallbackIcon : "network_node" , // Consistent with gateways page
304+ fallbackIcon : < CpuChip02 /> , // Consistent with gateways page
305305 } ) ) ;
306306
307307 const handleSendMessage = async ( text : string ) => {
@@ -383,8 +383,7 @@ export function ChatPanel() {
383383 className = "flex size-6 items-center justify-center rounded-full p-1 hover:bg-transparent transition-colors group cursor-pointer"
384384 title = "Close chat"
385385 >
386- < Icon
387- name = "close"
386+ < X
388387 size = { 16 }
389388 className = "text-muted-foreground group-hover:text-foreground transition-colors"
390389 />
@@ -423,7 +422,7 @@ export function ChatPanel() {
423422 icon = { selectedGateway ?. icon }
424423 name = { selectedGateway ?. title || "deco chat" }
425424 size = "xs"
426- fallbackIcon = "network_node"
425+ fallbackIcon = { < CpuChip02 size = { 12 } /> }
427426 />
428427 < span className = "text-sm font-medium" >
429428 { selectedGateway ?. title || "deco chat" }
@@ -439,8 +438,7 @@ export function ChatPanel() {
439438 className = "flex size-6 items-center justify-center rounded-full p-1 hover:bg-transparent group cursor-pointer"
440439 title = "New chat"
441440 >
442- < Icon
443- name = "add"
441+ < Plus
444442 size = { 16 }
445443 className = "text-muted-foreground group-hover:text-foreground transition-colors"
446444 />
@@ -452,8 +450,7 @@ export function ChatPanel() {
452450 className = "flex size-6 items-center justify-center rounded-full p-1 hover:bg-transparent transition-colors group cursor-pointer"
453451 title = "Close chat"
454452 >
455- < Icon
456- name = "close"
453+ < X
457454 size = { 16 }
458455 className = "text-muted-foreground group-hover:text-foreground transition-colors"
459456 />
@@ -474,7 +471,7 @@ export function ChatPanel() {
474471 icon = { selectedGateway ?. icon }
475472 name = { selectedGateway ?. title || "deco chat" }
476473 size = "lg"
477- fallbackIcon = "network_node"
474+ fallbackIcon = { < CpuChip02 size = { 32 } /> }
478475 className = "size-[60px]! rounded-[18px]!"
479476 />
480477 }
0 commit comments