changes in auth page

This commit is contained in:
2022-12-15 20:36:17 -03:00
parent 9bb1ab9480
commit 80d2114b9a
10 changed files with 24 additions and 23 deletions

View File

@@ -70,11 +70,12 @@ function Auth() {
<code
className="code-selection"
onClick={() => {
navigator.clipboard.writeText(permanentCode)
setNotification("Text copied to clipboard!")
navigator.clipboard.writeText(permanentCode).then(() => {
setNotification("Text copied to clipboard!")
})
}}
>
{permanentCode}
{permanentCode || 'lorem ipsum'}
</code>
</div>
</>