diff --git a/src/components/PromptInput/PromptInputFooterLeftSide.tsx b/src/components/PromptInput/PromptInputFooterLeftSide.tsx index 997fe3e7d..5fb5aed74 100644 --- a/src/components/PromptInput/PromptInputFooterLeftSide.tsx +++ b/src/components/PromptInput/PromptInputFooterLeftSide.tsx @@ -351,7 +351,9 @@ function ModeIndicator({ // its click-target Box isn't nested inside the // wrapper (reconciler throws on Box-in-Text). // Tmux pill (ant-only) — appears right after tasks in nav order - ...(process.env.USER_TYPE === 'ant' && hasTmuxSession ? [] : []), + ...(process.env.USER_TYPE === 'ant' && hasTmuxSession && typeof TungstenPill === 'function' + ? [] + : []), ...(isAgentSwarmsEnabled() && hasTeams ? [] : []),