Skip to content

Commit

Permalink
fix bug where timestamps where getting regenerated (#386)
Browse files Browse the repository at this point in the history
  • Loading branch information
northdpole authored and john681611 committed Nov 1, 2023
1 parent f621f74 commit 89da704
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion application/frontend/src/pages/chatbot/chatbot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,9 @@ export const Chatbot = () => {
<Comment.Content>
<Comment.Author as="b">{m.role}</Comment.Author>
<Comment.Metadata>
<span className="timestamp">{new Date().toLocaleTimeString()}</span>
<span className="timestamp">
{m.timestamp}
</span>
</Comment.Metadata>
<Comment.Text>{processResponse(m.message)}</Comment.Text>
{m.data
Expand Down

0 comments on commit 89da704

Please sign in to comment.