From ff1a2fc87a066950ab31924ef988d15535d9f438 Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Tue, 21 Sep 2021 17:55:34 +0200 Subject: [PATCH] Always show an address while loading Signed-off-by: Alexis Sellier --- src/Address.svelte | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/Address.svelte b/src/Address.svelte index d0ca0822f..3d82894c8 100644 --- a/src/Address.svelte +++ b/src/Address.svelte @@ -4,7 +4,6 @@ import { ethers } from 'ethers'; import { safeLink, explorerLink, identifyAddress, formatAddress, AddressType, parseEnsLabel } from '@app/utils'; import { Profile, ProfileType } from '@app/profile'; - import Loading from '@app/Loading.svelte'; import Avatar from "@app/Avatar.svelte"; import type { Config } from '@app/config'; @@ -46,9 +45,6 @@ .address a:hover { color: var(--color-foreground); } - .loading { - height: 1.5rem; - }
@@ -66,9 +62,7 @@ contract {:else if addressType === AddressType.EOA} {addressLabel} - {:else if profile?.name} + {:else} {addressLabel} - {:else} -
{/if}