diff options
| author | Adam Soltys <[email protected]> | 2026-02-11 23:02:30 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-11 23:02:30 -0800 |
| commit | 2e61e8abbc318c36969cb5add0c63df81135b4ab (patch) | |
| tree | 706396b41da448f0172719313fb6ae30ecebb004 /src/routes/(app)/send/ark | |
| parent | 56a04684c1fb77ea7b21afc6b0d2e1c4773906f6 (diff) | |
| download | coinos-ui-2e61e8abbc318c36969cb5add0c63df81135b4ab.tar.gz coinos-ui-2e61e8abbc318c36969cb5add0c63df81135b4ab.zip | |
formatting
Diffstat (limited to 'src/routes/(app)/send/ark')
| -rw-r--r-- | src/routes/(app)/send/ark/[address]/+page.svelte | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/routes/(app)/send/ark/[address]/+page.svelte b/src/routes/(app)/send/ark/[address]/+page.svelte index 23f3a7fb..705d73f7 100644 --- a/src/routes/(app)/send/ark/[address]/+page.svelte +++ b/src/routes/(app)/send/ark/[address]/+page.svelte @@ -37,13 +37,13 @@ <Numpad bind:amount={a} bind:fiat {currency} {submit} bind:rate={$rate} {locale} /> <div class="flex justify-center gap-2"> - <button type="button" class="btn !w-auto grow" onclick={setMax} onkeydown={setMax} - >{#if $fiatStore} + <button type="button" class="btn !w-auto grow" onclick={setMax} onkeydown={setMax}> + {#if $fiatStore} Max {f((balance * $rate) / sats, currency, locale)} {:else} Max ⚡️{s(balance)} - {/if}</button - > + {/if} + </button> <form action={`/send/ark/${address}/${amount}`} class="contents"> <button bind:this={submit} type="submit" class="btn !w-auto grow btn-accent"> |
