Skip to content

Commit

Permalink
fix(frontend): don't show copy icon when thinking (#2133)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zewed authored and StanGirard committed Feb 5, 2024
1 parent a1c6300 commit 340fc09
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const MessageRow = React.forwardRef(
{children ?? (
<>
<MessageContent text={messageContent} isUser={isUserSpeaker} />
{!isUserSpeaker && (
{!isUserSpeaker && messageContent !== "🧠" && (
<div className={styles.copy_button}>
<CopyButton handleCopy={handleCopy} isCopied={isCopied} />
</div>
Expand Down

0 comments on commit 340fc09

Please sign in to comment.