Skip to content

Commit

Permalink
perf: test commit
Browse files Browse the repository at this point in the history
  • Loading branch information
huniafatima-arbi committed Jul 1, 2024
1 parent 0779bf9 commit edd76b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/ChatBox/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ const ChatBox = ({ chatboxContainerRef }) => {
return (
<div ref={chatboxContainerRef} className="flex-grow-1 scroller d-flex flex-column pb-4">
{messageList.map(({ role, content, timestamp }) => (
<Message key={timestamp.toString()}
<Message
key={timestamp.toString()}
variant={role}
message={content}
/>
Expand Down

0 comments on commit edd76b7

Please sign in to comment.