Skip to content

Commit 503c758

Browse files
authored
Fix: Wrongfully clearing input on autoApprove (#3956)
1 parent ad2ff93 commit 503c758

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

webview-ui/src/components/chat/ChatView.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,8 +1195,6 @@ const ChatViewComponent: React.ForwardRefRenderFunction<ChatViewRef, ChatViewPro
11951195
// This is copied from `handlePrimaryButtonClick`, which we used
11961196
// to call from `autoApprove`. I'm not sure how many of these
11971197
// things are actually needed.
1198-
setInputValue("")
1199-
setSelectedImages([])
12001198
setSendingDisabled(true)
12011199
setClineAsk(undefined)
12021200
setEnableButtons(false)

0 commit comments

Comments
 (0)