Explorar o código

Fix: Wrongfully clearing input on autoApprove (#3956)

Ruakij hai 7 meses
pai
achega
503c7585de
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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)