Show checksum address

This commit is contained in:
Alexis Sellier
2021-06-12 12:41:04 +02:00
parent 798f06f1ec
commit a9de076159
+4 -1
View File
@@ -1,4 +1,5 @@
<script lang="typescript">
import * as ethers from 'ethers';
import { onMount } from 'svelte';
import { Link } from 'svelte-routing';
import type { SvelteComponent } from 'svelte';
@@ -134,7 +135,9 @@
{/if}
</div>
<div class="info">
<span class="title bold">{registration ? label : address}</span>
<span class="title bold">
{registration ? label : ethers.utils.getAddress(address)}
</span>
<div class="links">
{#if registration}
{#if registration.url}