Skip to content

Commit 21bb9d6

Browse files
committed
Remove console.log statements
1 parent 991cb76 commit 21bb9d6

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/views/pages/ChatPanel.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const chatPanel = observer(() => {
6868
const gap = sh - vh - y;
6969
const isBottom = sh < vh ? true : gap < 100;
7070
const isTop = y === 0;
71-
// console.log(`sh:${sh},vh:${vh},x:${x},y:${y},gap:${gap}`);
71+
//
7272
if (isBottom) {
7373
chat.onMessagesBottom();
7474
} else if (isTop) {
@@ -89,7 +89,6 @@ const chatPanel = observer(() => {
8989
messageUtil.registerHandler(
9090
"regCommandList",
9191
(message: { result: Item[] }) => {
92-
console.log("regCommandList message: ", message);
9392
input.fetchCommandMenus(message.result);
9493
}
9594
);
@@ -149,7 +148,6 @@ const chatPanel = observer(() => {
149148
messageUtil.registerHandler(
150149
"getSetting",
151150
(message: { value: string; key2: string }) => {
152-
console.log("message: ", message);
153151
if (message.key2 === "defaultModel") {
154152
chat.changeChatModel(message.value);
155153
}

0 commit comments

Comments
 (0)