Skip to content

Commit

Permalink
precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
bedanley committed Dec 13, 2024
1 parent 1c5d46f commit dc7f4d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/user-interface/react/src/components/chatbot/Message.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ export default function Message ({ message, isRunning, showMetadata }: MessagePr
<ReactMarkdown children={message.content}/>
<div style={{display: 'flex', alignItems: 'center', height: '100%', justifyContent: 'flex-end'}}>
<Button
onClick={() => {navigator.clipboard.writeText(message.content)}}
onClick={() => {
navigator.clipboard.writeText(message.content);
}}
iconAlign='right'
iconName='copy'
variant='link'
Expand Down

0 comments on commit dc7f4d1

Please sign in to comment.