Skip to content

Commit

Permalink
fix: remove span
Browse files Browse the repository at this point in the history
  • Loading branch information
kamthamc committed Mar 29, 2020
1 parent c761c8f commit 88f2a81
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/copy-to-clipboard/lib/CopyText.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ const copyText = (text: string) => {
if (!success) {
throw new Error("copy command was unsuccessful");
}
body.removeChild(copyElement);

} catch (err) {
console.error("unable to copy using execCommand: ", err);
Expand Down

0 comments on commit 88f2a81

Please sign in to comment.