Skip to content

Commit

Permalink
add subscan url
Browse files Browse the repository at this point in the history
  • Loading branch information
zlayine committed Dec 11, 2023
1 parent 08e1bba commit 0f4fc3d
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,14 @@

<div class="space-y-2 pt-4 pb-3" v-if="transaction.transactionHash">
<dt class="text-base font-medium text-gray-500">Transaction Hash</dt>
<dd class="mt-1 text-sm text-gray-900 break-words">
{{ transaction.transactionHash }}
<CopyTextIcon :text="transaction.transactionHash" />
<dd class="flex items-center mt-1 text-sm text-gray-900">
<a
:href="getSubscanUrl(transaction.transactionHash)"
target="_blank"
class="text-primary font-medium truncate"
>
{{ transaction.transactionHash }}
</a>
</dd>
</div>

Expand Down

0 comments on commit 0f4fc3d

Please sign in to comment.