aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/send/bitcoin
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-02-22 13:35:50 -0800
committerAdam Soltys <[email protected]>2024-02-22 13:35:50 -0800
commit8d33c5fe90f731f0c4326ca787cb1150ac46fcd9 (patch)
treeb2c8696826ec6c5314bfa5ea64cb76ce7f87cbd4 /src/routes/(app)/send/bitcoin
parent5be878fdbb5052501bf894b45627a7bd209ff053 (diff)
downloadcoinos-ui-8d33c5fe90f731f0c4326ca787cb1150ac46fcd9.tar.gz
coinos-ui-8d33c5fe90f731f0c4326ca787cb1150ac46fcd9.zip
send to tip page
Diffstat (limited to 'src/routes/(app)/send/bitcoin')
-rw-r--r--src/routes/(app)/send/bitcoin/[address]/+page.svelte11
-rw-r--r--src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.server.js2
2 files changed, 5 insertions, 8 deletions
diff --git a/src/routes/(app)/send/bitcoin/[address]/+page.svelte b/src/routes/(app)/send/bitcoin/[address]/+page.svelte
index 84f14c39..838c5c04 100644
--- a/src/routes/(app)/send/bitcoin/[address]/+page.svelte
+++ b/src/routes/(app)/send/bitcoin/[address]/+page.svelte
@@ -25,13 +25,10 @@
</script>
<a href="/send">
-<button
- type="button"
- class="ml-5 md:ml-20 mt-5 md:mt-10 hover:opacity-80"
->
- <Icon icon="arrow-left" style="w-10" />
-</button>
- </a>
+ <button type="button" class="ml-5 md:ml-20 mt-5 md:mt-10 hover:opacity-80">
+ <Icon icon="arrow-left" style="w-10" />
+ </button>
+</a>
<div class="container px-4 max-w-xl mx-auto space-y-5 text-center">
<h1 class="text-3xl md:text-4xl font-semibold mb-2">{$t("payments.send")}</h1>
diff --git a/src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.server.js b/src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.server.js
index 9d86537d..d4498b39 100644
--- a/src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.server.js
+++ b/src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.server.js
@@ -26,7 +26,7 @@ export const actions = {
try {
let r = await post("/bitcoin/send", await fd(request), auth(cookies));
} catch (e) {
- console.log("problem sending bitcoin", e);
+ console.log("problem sending bitcoin", e);
return fail(400, { address, amount, feeRate, message: e.message });
}