From 9acc740ef16a5918c7afd87b68fe7565f231a706 Mon Sep 17 00:00:00 2001 From: duongynhi000005-oss Date: Mon, 25 May 2026 07:47:46 +0000 Subject: [PATCH] Improve pool deposit/withdraw balance visibility and max-fill --- src/components/modals/Deposit.svelte | 2 +- src/components/modals/Withdraw.svelte | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/modals/Deposit.svelte b/src/components/modals/Deposit.svelte index 131b8ea..deab8d1 100644 --- a/src/components/modals/Deposit.svelte +++ b/src/components/modals/Deposit.svelte @@ -103,7 +103,7 @@
- {amount = $balances[asset]}} /> + {amount = `${$balances[asset] || 0}`}} />
diff --git a/src/components/modals/Withdraw.svelte b/src/components/modals/Withdraw.svelte index d0b92b3..331bc16 100644 --- a/src/components/modals/Withdraw.svelte +++ b/src/components/modals/Withdraw.svelte @@ -90,7 +90,7 @@
-
{amount = $poolStakes[asset]}} />
+
{amount = `${$poolStakes[asset] || 0}`}} />
@@ -107,4 +107,4 @@ - \ No newline at end of file +