Skip to content

Commit

Permalink
only show drop down if we have saved accounts (#4578)
Browse files Browse the repository at this point in the history
  • Loading branch information
julianjelfs authored Oct 13, 2023
1 parent 94f8417 commit d9019a2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions frontend/app/src/components/home/profile/SendCrypto.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,11 @@
</div>
</div>

<div class="accounts">
<AccountSelector bind:targetAccount {accounts} />
</div>
{#if accounts.length > 0}
<div class="accounts">
<AccountSelector bind:targetAccount {accounts} />
</div>
{/if}
{/if}

<style lang="scss">
Expand Down

0 comments on commit d9019a2

Please sign in to comment.