diff --git a/web/src/components/ChatBox/ChatInputBox/index.tsx b/web/src/components/ChatBox/ChatInputBox/index.tsx index 38ef73dd..9750c3e1 100644 --- a/web/src/components/ChatBox/ChatInputBox/index.tsx +++ b/web/src/components/ChatBox/ChatInputBox/index.tsx @@ -6,8 +6,12 @@ interface ChatInputBoxProps { } export const ChatInputBox: React.FC = React.memo((props) => { return ( -
- props.onSendMsg(e.currentTarget.value)} /> +
+ props.onSendMsg(e.currentTarget.value)} + />
); }); diff --git a/web/src/components/ChatBox/ChatMessageList/index.tsx b/web/src/components/ChatBox/ChatMessageList/index.tsx index c550765e..62a6625a 100644 --- a/web/src/components/ChatBox/ChatMessageList/index.tsx +++ b/web/src/components/ChatBox/ChatMessageList/index.tsx @@ -8,7 +8,7 @@ interface ChatMessageListProps { export const ChatMessageList: React.FC = React.memo( (props) => { return ( -
+
{props.messages.map((message) => ( +