mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2026-01-09 09:14:31 +01:00
Don't show swap button when onchain = 0
This commit is contained in:
committed by
Paul Miller
parent
5a64de87df
commit
89a7d6b288
@@ -60,7 +60,7 @@ export default function BalanceBox(props: { loading?: boolean }) {
|
||||
<Show when={!props.loading} fallback={<LoadingShimmer />}>
|
||||
<div class="flex justify-between">
|
||||
<Amount amountSats={totalOnchain()} showFiat />
|
||||
<Show when={!emptyBalance()}>
|
||||
<Show when={totalOnchain() != 0n }>
|
||||
<div class="self-end justify-self-end">
|
||||
<A href="/swap" class={STYLE}>
|
||||
<img
|
||||
|
||||
Reference in New Issue
Block a user