fix: #309
This commit is contained in:
parent
bf373d894d
commit
4e5a0d9e02
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ function App() {
|
|||
setLastShared(activeCode || code);
|
||||
const shareUrl = window.location.origin + '?' + hash;
|
||||
// copy shareUrl to clipboard
|
||||
navigator.clipboard.writeText(shareUrl);
|
||||
await navigator.clipboard.writeText(shareUrl);
|
||||
const message = `Link copied to clipboard: ${shareUrl}`;
|
||||
alert(message);
|
||||
// alert(message);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue