diff --git a/src/components/convert-chip.tsx b/src/components/convert-chip.tsx index 14a5703..94cfa2a 100644 --- a/src/components/convert-chip.tsx +++ b/src/components/convert-chip.tsx @@ -23,10 +23,6 @@ export function ConvertChip() { const { run, cancel } = useConvert(); const t = useT(); - // Only show in split mode — when only one pane is visible there's no - // divider to hang off, and the toolbar button is already obvious. - if (layoutMode !== "split") return null; - const agentInfo = agents.find((a) => a.id === agent); const model = agent ? agentModels[agent] ?? "default" : "default"; const canConvert = @@ -66,6 +62,10 @@ export function ConvertChip() { return () => window.removeEventListener("keydown", onKey); }, [onClick, isRunning, canConvert]); + // Only show in split mode — when only one pane is visible there's no + // divider to hang off, and the toolbar button is already obvious. + if (layoutMode !== "split") return null; + return (