aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/send/fund
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-11 23:02:30 -0800
committerAdam Soltys <[email protected]>2026-02-11 23:02:30 -0800
commit2e61e8abbc318c36969cb5add0c63df81135b4ab (patch)
tree706396b41da448f0172719313fb6ae30ecebb004 /src/routes/(app)/send/fund
parent56a04684c1fb77ea7b21afc6b0d2e1c4773906f6 (diff)
downloadcoinos-ui-2e61e8abbc318c36969cb5add0c63df81135b4ab.tar.gz
coinos-ui-2e61e8abbc318c36969cb5add0c63df81135b4ab.zip
formatting
Diffstat (limited to 'src/routes/(app)/send/fund')
-rw-r--r--src/routes/(app)/send/fund/[...name]/[...amount]/+page.svelte11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/routes/(app)/send/fund/[...name]/[...amount]/+page.svelte b/src/routes/(app)/send/fund/[...name]/[...amount]/+page.svelte
index d0cf6743..49284b57 100644
--- a/src/routes/(app)/send/fund/[...name]/[...amount]/+page.svelte
+++ b/src/routes/(app)/send/fund/[...name]/[...amount]/+page.svelte
@@ -44,9 +44,7 @@
</script>
{#if form?.message}
- <div class="text-red-600 text-center">
- {form.message}
- </div>
+ <div class="text-red-600 text-center">{form.message}</div>
{/if}
<div class="container px-4 mt-20 max-w-xl mx-auto">
@@ -64,12 +62,13 @@
onclick={setMax}
disabled={submitting}
onkeydown={setMax}
- >{#if $fiatStore}
+ >
+ {#if $fiatStore}
Max {f((balance * rate) / sats, currency, locale)}
{:else}
Max ⚡️{s(balance)}
- {/if}</button
- >
+ {/if}
+ </button>
<button use:focus bind:this={submit} type="submit" class="btn btn-accent !w-auto grow">
{#if submitting}