From 50b5d20694af3414a8469f1df21b2eb97887902e Mon Sep 17 00:00:00 2001 From: Gagancreates Date: Wed, 27 May 2026 03:00:48 +0530 Subject: [PATCH] fix: refine work directory pill and search button controls --- .../components/chat-input-with-mentions.tsx | 37 +++++++++---------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/apps/x/apps/renderer/src/components/chat-input-with-mentions.tsx b/apps/x/apps/renderer/src/components/chat-input-with-mentions.tsx index a22f4e64..5ea87db7 100644 --- a/apps/x/apps/renderer/src/components/chat-input-with-mentions.tsx +++ b/apps/x/apps/renderer/src/components/chat-input-with-mentions.tsx @@ -28,7 +28,6 @@ import { DropdownMenuItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, - DropdownMenuSeparator, DropdownMenuTrigger, } from '@/components/ui/dropdown-menu' import { @@ -547,28 +546,29 @@ function ChatInputInner({ {workDir ? 'Change work directory' : 'Set work directory'} - {workDir && ( - <> - - { void handleClearWorkDir() }}> - - Clear work directory - - - )} {workDir && ( - +
+ + +
Work directory: {workDir} @@ -584,7 +584,6 @@ function ChatInputInner({ > Search - ) : (