aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/send
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-02-27 19:28:59 -0800
committerAdam Soltys <[email protected]>2023-02-27 19:28:59 -0800
commit301770cb05331c8cbb32f60b11c62a79c9d28df3 (patch)
treeacd4126b1f0d2e893719468135fbf439e916c4bb /src/routes/(app)/send
parent34bc1c031378f8333819f2b46fb74f46634fb639 (diff)
downloadcoinos-ui-301770cb05331c8cbb32f60b11c62a79c9d28df3.tar.gz
coinos-ui-301770cb05331c8cbb32f60b11c62a79c9d28df3.zip
prettier
Diffstat (limited to 'src/routes/(app)/send')
-rw-r--r--src/routes/(app)/send/bitcoin/[address]/[...amount]/+page.svelte10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/routes/(app)/send/bitcoin/[address]/[...amount]/+page.svelte b/src/routes/(app)/send/bitcoin/[address]/[...amount]/+page.svelte
index b3a944f4..77d5fde6 100644
--- a/src/routes/(app)/send/bitcoin/[address]/[...amount]/+page.svelte
+++ b/src/routes/(app)/send/bitcoin/[address]/[...amount]/+page.svelte
@@ -22,7 +22,7 @@
loading = false;
if (form?.message?.includes('pin')) $pin = undefined;
if (form) ({ min, max, feeRate, fee, ourfee, subtract } = form);
- if (!ourfee) ourfee = 0;
+ if (!ourfee) ourfee = 0;
if (feeRate) confirmed = true;
stale = false;
};
@@ -77,7 +77,9 @@
{f(toFiat(fee + ourfee, $selectedRate), currency)}
</h2>
<h3 class="text-secondary mb-6 mt-1">⚡️{s(fee + ourfee)}</h3>
- <button class="absolute right-1/4 top-0 text-secondary p-4" on:click={toggleAdjusting}><Icon icon="settings" style="opacity-30" /></button>
+ <button class="absolute right-1/4 top-0 text-secondary p-4" on:click={toggleAdjusting}
+ ><Icon icon="settings" style="opacity-30" /></button
+ >
</div>
</div>
{:else}
@@ -104,7 +106,9 @@
<div class="my-auto">
<Toggle id="subtract" checked={subtract} bind:value={subtract} />
</div>
- <label for="subtract" class="text-secondary text-lg my-auto mb-2">Take fee from amount</label>
+ <label for="subtract" class="text-secondary text-lg my-auto mb-2"
+ >Take fee from amount</label
+ >
</div>
{/if}