mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-20 10:08:29 +00:00
fix: #309
This commit is contained in:
parent
bf373d894d
commit
4e5a0d9e02
@ -219,7 +219,7 @@ function App() {
|
|||||||
setLastShared(activeCode || code);
|
setLastShared(activeCode || code);
|
||||||
const shareUrl = window.location.origin + '?' + hash;
|
const shareUrl = window.location.origin + '?' + hash;
|
||||||
// copy shareUrl to clipboard
|
// copy shareUrl to clipboard
|
||||||
navigator.clipboard.writeText(shareUrl);
|
await navigator.clipboard.writeText(shareUrl);
|
||||||
const message = `Link copied to clipboard: ${shareUrl}`;
|
const message = `Link copied to clipboard: ${shareUrl}`;
|
||||||
alert(message);
|
alert(message);
|
||||||
// alert(message);
|
// alert(message);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user