mirror of
https://github.com/FranP-code/Open-Telegram-to-Notion-Website.git
synced 2025-10-13 00:42:53 +00:00
changes in auth page
This commit is contained in:
@@ -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>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user