work
This commit is contained in:
@@ -12,5 +12,5 @@ export async function copyText(text) {
|
||||
input.select();
|
||||
const copied = document.execCommand("copy");
|
||||
input.remove();
|
||||
if (!copied) throw new Error("Nie udało się skopiować linku");
|
||||
if (!copied) throw new Error("Failed to copy the link");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user