diff --git a/src/components/ChatBox/FloatingAction.tsx b/src/components/ChatBox/FloatingAction.tsx index 4a9ecb1ba..160df39d0 100644 --- a/src/components/ChatBox/FloatingAction.tsx +++ b/src/components/ChatBox/FloatingAction.tsx @@ -6,9 +6,9 @@ export interface FloatingActionProps { /** Current task status */ status: "running" | "pause" | "pending" | "finished"; /** Callback when pause button is clicked */ - onPause?: () => void; + // onPause?: () => void; // Commented out - temporary not needed /** Callback when resume button is clicked */ - onResume?: () => void; + // onResume?: () => void; // Commented out - temporary not needed /** Callback when skip to next is clicked */ onSkip?: () => void; /** Loading state for pause/resume actions */ @@ -19,14 +19,14 @@ export interface FloatingActionProps { export const FloatingAction = ({ status, - onPause, - onResume, + // onPause, // Commented out - temporary not needed + // onResume, // Commented out - temporary not needed onSkip, loading = false, className, }: FloatingActionProps) => { - // Only show when task is running or paused - if (status !== "running" && status !== "pause") { + // Only show when task is running (removed pause state) + if (status !== "running") { return null; } @@ -38,6 +38,18 @@ export const FloatingAction = ({ )} >