Browse Source

Fix: Wrongfully clearing input on autoApprove (#3956)

Ruakij 7 months ago
parent
commit
503c7585de
1 changed files with 0 additions and 2 deletions
  1. 0 2
      webview-ui/src/components/chat/ChatView.tsx

+ 0 - 2
webview-ui/src/components/chat/ChatView.tsx

@@ -1195,8 +1195,6 @@ const ChatViewComponent: React.ForwardRefRenderFunction<ChatViewRef, ChatViewPro
 				// This is copied from `handlePrimaryButtonClick`, which we used
 				// to call from `autoApprove`. I'm not sure how many of these
 				// things are actually needed.
-				setInputValue("")
-				setSelectedImages([])
 				setSendingDisabled(true)
 				setClineAsk(undefined)
 				setEnableButtons(false)