diff --git a/gui/src/pages/gui/Chat.tsx b/gui/src/pages/gui/Chat.tsx index 4a34b9db6..990e699a5 100644 --- a/gui/src/pages/gui/Chat.tsx +++ b/gui/src/pages/gui/Chat.tsx @@ -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);