diff --git a/src/components/chat/view/subcomponents/ChatComposer.tsx b/src/components/chat/view/subcomponents/ChatComposer.tsx index 7437eb6e..6077ca2b 100644 --- a/src/components/chat/view/subcomponents/ChatComposer.tsx +++ b/src/components/chat/view/subcomponents/ChatComposer.tsx @@ -194,13 +194,6 @@ export default function ChatComposer({ const isRecording = voiceState === 'recording'; const isTranscribing = voiceState === 'transcribing'; - const textareaRect = textareaRef.current?.getBoundingClientRect(); - const commandMenuPosition = { - top: textareaRect ? Math.max(16, textareaRect.top - 316) : 0, - left: textareaRect ? textareaRect.left : 16, - bottom: textareaRect ? window.innerHeight - textareaRect.top + 8 : 90, - }; - // Detect if the AskUserQuestion interactive panel is active const hasQuestionPanel = pendingPermissionRequests.some( (r) => r.toolName === 'AskUserQuestion'