aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/fund
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/(app)/fund')
-rw-r--r--src/routes/(app)/fund/[id]/access/+page.svelte4
-rw-r--r--src/routes/(app)/fund/[id]/authorize/[...amount]/+page.svelte4
-rw-r--r--src/routes/(app)/fund/[id]/sweep/[...amount]/+page.svelte4
-rw-r--r--src/routes/(app)/fund/[id]/withdraw/+page.svelte11
4 files changed, 9 insertions, 14 deletions
diff --git a/src/routes/(app)/fund/[id]/access/+page.svelte b/src/routes/(app)/fund/[id]/access/+page.svelte
index 9920fa5b..5c161e7c 100644
--- a/src/routes/(app)/fund/[id]/access/+page.svelte
+++ b/src/routes/(app)/fund/[id]/access/+page.svelte
@@ -56,8 +56,8 @@
<a href={`/fund/${id}`} class="btn">
<iconify-icon icon="ph:arrow-left-bold" width={32}></iconify-icon>
- {$t("funds.returnToFund")}</a
- >
+ {$t("funds.returnToFund")}
+ </a>
</div>
</div>
</div>
diff --git a/src/routes/(app)/fund/[id]/authorize/[...amount]/+page.svelte b/src/routes/(app)/fund/[id]/authorize/[...amount]/+page.svelte
index 746318e7..d49e047e 100644
--- a/src/routes/(app)/fund/[id]/authorize/[...amount]/+page.svelte
+++ b/src/routes/(app)/fund/[id]/authorize/[...amount]/+page.svelte
@@ -19,6 +19,4 @@
<div class="opacity-0 w-screen h-screen fixed top-24 left-0 z-50"></div>
</a>
-<div class="flex justify-center mt-4">
- {$t("payments.tapAnywhere")}
-</div>
+<div class="flex justify-center mt-4">{$t("payments.tapAnywhere")}</div>
diff --git a/src/routes/(app)/fund/[id]/sweep/[...amount]/+page.svelte b/src/routes/(app)/fund/[id]/sweep/[...amount]/+page.svelte
index b67a024b..40ceafb8 100644
--- a/src/routes/(app)/fund/[id]/sweep/[...amount]/+page.svelte
+++ b/src/routes/(app)/fund/[id]/sweep/[...amount]/+page.svelte
@@ -22,6 +22,4 @@
<div class="opacity-0 w-screen h-screen fixed top-24 left-0 z-50"></div>
</a>
-<div class="flex justify-center mt-4">
- {$t("payments.tapAnywhere")}
-</div>
+<div class="flex justify-center mt-4">{$t("payments.tapAnywhere")}</div>
diff --git a/src/routes/(app)/fund/[id]/withdraw/+page.svelte b/src/routes/(app)/fund/[id]/withdraw/+page.svelte
index b8ccd5af..a37185ed 100644
--- a/src/routes/(app)/fund/[id]/withdraw/+page.svelte
+++ b/src/routes/(app)/fund/[id]/withdraw/+page.svelte
@@ -35,9 +35,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">
@@ -55,12 +53,13 @@
onclick={setMax}
disabled={submitting}
onkeydown={setMax}
- >{#if $fiat}
+ >
+ {#if $fiat}
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}