Skip to content

Commit

Permalink
Merge pull request #2970 from petersopko/fix/remove-copy-to-clipboard…
Browse files Browse the repository at this point in the history
…-2961

fix: Remove copy to clipboard own address
  • Loading branch information
kkukelka authored May 7, 2022
2 parents ab8e4d1 + f55904d commit 643a19e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/shared/format/Identity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
((showTwitter && twitter) || !showTwitter) &&
((showDiscord && discord) || !showDiscord)
"
v-clipboard:copy="address"
:class="{ aligned: verticalAlign, overflowWrap: noOwerflow }"
class="is-flex-wrap-wrap is-flex-grow-1">
<template v-if="(showTwitter && twitter) || (showDiscord && discord)">
Expand Down Expand Up @@ -114,8 +113,7 @@ export default class Identity extends mixins(InlineMixin) {
}
get discord(): Address {
const discord = this.identity.discord
return discord
return this.identity?.discord
}
@Watch('address', { immediate: true })
Expand Down

0 comments on commit 643a19e

Please sign in to comment.