fix: remove reject edit diff functionality on cmd backspace (#6703)
This commit is contained in:
parent
c7abc56b0c
commit
46b644850b
1 changed files with 1 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ import {
|
|||
ChatBubbleOvalLeftIcon,
|
||||
} from "@heroicons/react/24/outline";
|
||||
import { Editor, JSONContent } from "@tiptap/react";
|
||||
import { InputModifiers, ChatHistoryItem } from "core";
|
||||
import { ChatHistoryItem, InputModifiers } from "core";
|
||||
import { renderChatMessage } from "core/util/messageContent";
|
||||
import {
|
||||
useCallback,
|
||||
|
|
@ -138,7 +138,6 @@ export function Chat() {
|
|||
!e.shiftKey
|
||||
) {
|
||||
void dispatch(cancelStream());
|
||||
if (isInEdit) ideMessenger.post("rejectDiff", {});
|
||||
}
|
||||
};
|
||||
window.addEventListener("keydown", listener);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue