[Classroom][FE] Fix bug, copy button not copying

This commit is contained in:
Araozu 2023-10-05 11:29:39 -05:00
parent 2dc1b6ba59
commit 6906e5f788

View File

@ -45,7 +45,13 @@ Saludos Cordiales!
<div> <div>
<h3 class="px-4 pt-2 font-bold"> <h3 class="px-4 pt-2 font-bold">
<button class="mr-2 hover:bg-c-surface-variant rounded" title="Copiar"> <button
class="mr-2 hover:bg-c-surface-variant rounded"
title="Copiar"
onclick={() => {
navigator.clipboard.writeText(personMessage());
}}
>
<CopyIcon fill="var(--c-primary)" /> <CopyIcon fill="var(--c-primary)" />
</button> </button>
Mensaje usuario natural: Mensaje usuario natural: