Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
fix: emitting link click event when clicking on copy
Browse files Browse the repository at this point in the history
  • Loading branch information
xstelea committed Aug 8, 2023
1 parent 2843ab4 commit 3a8c76f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/account/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export class RadixAccount extends LitElement {
${shortenAddress(this.address)}<i
@click=${(ev: MouseEvent) => {
ev.preventDefault()
ev.stopImmediatePropagation()
navigator.clipboard.writeText(this.address)
}}
></i>
Expand Down

0 comments on commit 3a8c76f

Please sign in to comment.