diff --git a/src/components/ChatBox/index.jsx b/src/components/ChatBox/index.jsx index cf32b145..df2eec73 100644 --- a/src/components/ChatBox/index.jsx +++ b/src/components/ChatBox/index.jsx @@ -26,9 +26,7 @@ const ChatBox = ({ chatboxContainerRef }) => { {messagesBeforeToday.map(({ role, content, timestamp }) => ( ))} - {(messageList.length !== 0 && messagesBeforeToday.length !== 0) && ( - - )} + {(messageList.length !== 0 && messagesBeforeToday.length !== 0) && ()} {messagesToday.map(({ role, content, timestamp }) => ( ))}