@@ -3,7 +3,7 @@ import type { ReactNode } from 'react';
33import { useTranslation } from 'react-i18next' ;
44import type { TFunction } from 'i18next' ;
55import { useVirtualizer } from '@tanstack/react-virtual' ;
6- import { Copy , RefreshCw , Trash2 , ArrowDown , FileText , Pencil , Terminal , Search , FolderOpen , Globe , Bot , CheckSquare , Wrench , ChevronDown , AlertTriangle , ExternalLink , RefreshCcw , Reply , X } from 'lucide-react' ;
6+ import { Copy , RefreshCw , Trash2 , ArrowDown , FileText , Pencil , Terminal , Search , FolderOpen , Globe , Bot , CheckSquare , Wrench , AlertTriangle , ExternalLink , RefreshCcw , Reply } from 'lucide-react' ;
77import type { ChatMessage , MessageBlock , ToolResultBlock , FileDiff , ReplyTarget } from './ChatView.types' ;
88import MarkdownRenderer from './MarkdownRenderer' ;
99import CodeBlock from './CodeBlock' ;
@@ -589,7 +589,7 @@ function extractMessageText(msg: ChatMessage): string {
589589}
590590
591591// ── ChatView ────────────────────────────────
592- export default function ChatView ( { messages, isStreaming, onRetry, onDelete, onReply, onRegenerate, replyTo, onCancelReply } : Props ) {
592+ export default function ChatView ( { messages, isStreaming, onRetry, onDelete, onReply, onRegenerate, replyTo } : Props ) {
593593 const { t, i18n } = useTranslation ( ) ;
594594 const addToast = useToastStore ( ( s ) => s . addToast ) ;
595595 const scrollRef = useRef < HTMLDivElement > ( null ) ;
0 commit comments