From 88a1de74492c09e73185f986e1dcb78bfd83ef00 Mon Sep 17 00:00:00 2001 From: Lukas Date: Thu, 2 Jan 2025 21:32:35 +0100 Subject: [PATCH] feat(app): save progress --- .../components/Cube/faces/Assets.svelte | 48 ++++++++++--------- .../components/Cube/faces/Chains.svelte | 2 +- .../components/Cube/faces/Intent.svelte | 2 +- .../components/Cube/faces/Transfer.svelte | 9 +++- 4 files changed, 36 insertions(+), 25 deletions(-) diff --git a/app/src/lib/components/TransferFrom/components/Cube/faces/Assets.svelte b/app/src/lib/components/TransferFrom/components/Cube/faces/Assets.svelte index c4c10ca611..d5a8a1be72 100644 --- a/app/src/lib/components/TransferFrom/components/Cube/faces/Assets.svelte +++ b/app/src/lib/components/TransferFrom/components/Cube/faces/Assets.svelte @@ -31,28 +31,32 @@ -
-
- {#each $context.balances as asset} - {@const supportedAsset = getSupportedAsset($context.sourceChain, asset.address)} - {#if $showUnsupported || supportedAsset} -
- -
- {/if} - {/each} -
+
+ {#if $context.balances.length} +
+ {#each $context.balances as asset} + {@const supportedAsset = getSupportedAsset($context.sourceChain, asset.address)} + {#if $showUnsupported || supportedAsset} +
+ +
+ {/if} + {/each} +
+ {:else} +

No spendable balances

+ {/if}
\ No newline at end of file +
+

Transfer

+
+ + +
+
\ No newline at end of file