Skip to content

Commit

Permalink
<PortfolioAccount>: update rendering logic
Browse files Browse the repository at this point in the history
  • Loading branch information
darrylyeo committed Apr 27, 2023
1 parent 3296c5f commit be5e200
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/components/PortfolioAccount.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -334,16 +334,12 @@
<small class="align-start" transition:scale|local><Address network={networksByChainID[1]} {address} /></small>
{/if}
{:else if type === AccountIdType.ENS}
{#if ensName}
<h3><EnsName {ensName} showAvatar /></h3>
{/if}
<h3><EnsName {ensName} showAvatar /></h3>
{#if address}
<small class="align-start" transition:scale|local><Address network={networksByChainID[1]} {address} /></small>
{/if}
{:else if type === AccountIdType.Address}
{#if address}
<h3><Address network={networksByChainID[1]} {address} /></h3>
{/if}
<h3><Address network={networksByChainID[1]} {address} /></h3>
{#if ensName}
<small class="align-start" transition:scale|local><EnsName {ensName} showAvatar /></small>
{/if}
Expand Down

0 comments on commit be5e200

Please sign in to comment.