diff --git a/ui/desktop/src/components/InterruptionHandler.tsx b/ui/desktop/src/components/InterruptionHandler.tsx index 52023e6a2fa5..cedf3cee7597 100644 --- a/ui/desktop/src/components/InterruptionHandler.tsx +++ b/ui/desktop/src/components/InterruptionHandler.tsx @@ -87,7 +87,6 @@ export const InterruptionHandler: React.FC = ({ }; const colors = getActionColor(); - const message = getInterruptionMessage(match); const handleConfirm = () => { if (showRedirectInput && onRedirect && redirectMessage.trim()) { diff --git a/ui/desktop/src/components/MessageQueue.tsx b/ui/desktop/src/components/MessageQueue.tsx index ed6e383c32d4..f93ff64dccdb 100644 --- a/ui/desktop/src/components/MessageQueue.tsx +++ b/ui/desktop/src/components/MessageQueue.tsx @@ -1,5 +1,5 @@ import React, { useState } from 'react'; -import { X, Clock, Send, GripVertical, Zap, Sparkles, ChevronDown, ChevronUp, MoreHorizontal } from 'lucide-react'; +import { X, Clock, Send, GripVertical, Zap, Sparkles, ChevronDown, ChevronUp } from 'lucide-react'; import { Button } from './ui/button'; interface QueuedMessage { diff --git a/ui/desktop/src/components/dashboard/DashboardCanvas.tsx b/ui/desktop/src/components/dashboard/DashboardCanvas.tsx index 62471b39455b..b9ed414cf686 100644 --- a/ui/desktop/src/components/dashboard/DashboardCanvas.tsx +++ b/ui/desktop/src/components/dashboard/DashboardCanvas.tsx @@ -8,7 +8,7 @@ interface DashboardCanvasProps { onWidgetResize: (id: string, size: { width: number; height: number }) => void; } -export function DashboardCanvas({ widgets, onWidgetMove, onWidgetResize }: DashboardCanvasProps) { +export function DashboardCanvas({ widgets, onWidgetMove }: DashboardCanvasProps) { const canvasRef = useRef(null); const [draggedWidget, setDraggedWidget] = useState(null); const [dragOffset, setDragOffset] = useState({ x: 0, y: 0 }); diff --git a/ui/desktop/src/components/dashboard/DashboardWidget.tsx b/ui/desktop/src/components/dashboard/DashboardWidget.tsx index e89423c0bd63..9eb4be984493 100644 --- a/ui/desktop/src/components/dashboard/DashboardWidget.tsx +++ b/ui/desktop/src/components/dashboard/DashboardWidget.tsx @@ -8,10 +8,9 @@ interface DashboardWidgetProps { widget: WidgetData; onMouseDown: (e: React.MouseEvent) => void; isDragging: boolean; - onReset?: () => void; // Optional reset callback } -export function DashboardWidget({ widget, onMouseDown, isDragging, onReset }: DashboardWidgetProps) { +export function DashboardWidget({ widget, onMouseDown, isDragging }: DashboardWidgetProps) { const [showSavedIndicator, setShowSavedIndicator] = useState(false); // Show saved indicator when position changes (but not during dragging)