Skip to content

Commit 1547051

Browse files
authored
All messages get the copy button
1 parent 4078c77 commit 1547051

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/server/webui/src/components/ChatMessage.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -254,12 +254,12 @@ export default function ChatMessage({
254254
🔄 Regenerate
255255
</button>
256256
)}
257-
<CopyButton
258-
className="badge btn-mini show-on-hover mr-2"
259-
content={msg.content}
260-
/>
261257
</>
262258
)}
259+
<CopyButton
260+
className="badge btn-mini show-on-hover mr-2"
261+
content={msg.content}
262+
/>
263263
</div>
264264
)}
265265
</div>

0 commit comments

Comments
 (0)