fix(style): compare sroll

This commit is contained in:
jialin
2024-09-26 19:52:54 +08:00
parent cc7d2ded6c
commit 7e985991cd
16 changed files with 147 additions and 112 deletions
@@ -291,9 +291,9 @@ const MessageInput: React.FC<MessageInputProps> = ({
useHotkeys(
HotKeys.SUBMIT,
() => {
(e: any) => {
console.log('submit message', loading);
inputRef.current?.blur?.();
e.preventDefault();
handleSendMessage();
},
{
@@ -307,8 +307,6 @@ const MessageInput: React.FC<MessageInputProps> = ({
(e: any) => {
e.preventDefault();
e.stopPropagation();
console.log('add message', loading);
inputRef.current?.blur?.();
handleAddMessage();
},
{