diff options
| author | Adam Soltys <[email protected]> | 2023-12-07 15:10:24 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-12-07 15:10:24 -0800 |
| commit | 00e88944abb529d07e189f1181de8a4804f8ae9c (patch) | |
| tree | ed161bcbf918b56b37d3c3417d6f4d5616f82ee8 /src/routes/(app)/send/bitcoin | |
| parent | ae9106030759a88d0259a12b27a7cd0f2a422062 (diff) | |
| download | coinos-ui-00e88944abb529d07e189f1181de8a4804f8ae9c.tar.gz coinos-ui-00e88944abb529d07e189f1181de8a4804f8ae9c.zip | |
forgot password
Diffstat (limited to 'src/routes/(app)/send/bitcoin')
| -rw-r--r-- | src/routes/(app)/send/bitcoin/[address]/[...amount]/+page.server.js | 12 | ||||
| -rw-r--r-- | src/routes/(app)/send/bitcoin/[address]/[...amount]/+page.svelte | 3 |
2 files changed, 11 insertions, 4 deletions
diff --git a/src/routes/(app)/send/bitcoin/[address]/[...amount]/+page.server.js b/src/routes/(app)/send/bitcoin/[address]/[...amount]/+page.server.js index 5cb86aec..aaccf762 100644 --- a/src/routes/(app)/send/bitcoin/[address]/[...amount]/+page.server.js +++ b/src/routes/(app)/send/bitcoin/[address]/[...amount]/+page.server.js @@ -5,8 +5,16 @@ let seen = {}; export const actions = { default: async ({ cookies, request }) => { try { - let { address, amount, confirmed, feeRate, subtract, pin, stale, ts } = - await await fd(request); + let { + address, + amount, + confirmed, + feeRate, + subtract, + pin, + stale, + ts, + } = await await fd(request); if (seen[ts]) return fail(400, { message: "Duplicate form submission" }); let estimate = await post( diff --git a/src/routes/(app)/send/bitcoin/[address]/[...amount]/+page.svelte b/src/routes/(app)/send/bitcoin/[address]/[...amount]/+page.svelte index 133eab91..a8b86718 100644 --- a/src/routes/(app)/send/bitcoin/[address]/[...amount]/+page.svelte +++ b/src/routes/(app)/send/bitcoin/[address]/[...amount]/+page.svelte @@ -150,8 +150,7 @@ bind:this={submit} type="submit" class="opacity-100 hover:opacity-80 rounded-2xl border py-3 font-bold mt-2 bg-black text-white px-4 w-24" - disabled={loading} - > + disabled={loading}> {#if confirmed} {$t("payments.send")} {:else} |
