remove double ping for mcp approval

This commit is contained in:
Justin Quan
2024-12-16 14:07:07 -08:00
parent bb5fababae
commit ac2babfd82

View File

@@ -155,9 +155,6 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
setSecondaryButtonText(undefined) setSecondaryButtonText(undefined)
break break
case "use_mcp_server": case "use_mcp_server":
if (!isAutoApproved(lastMessage)) {
playSound("notification")
}
setTextAreaDisabled(isPartial) setTextAreaDisabled(isPartial)
setClineAsk("use_mcp_server") setClineAsk("use_mcp_server")
setEnableButtons(!isPartial) setEnableButtons(!isPartial)