aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/send/bitcoin
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-12-20 15:06:00 -0800
committerAdam Soltys <[email protected]>2023-12-20 15:06:00 -0800
commitb419ccffd45add72259f4abe548ad29b61309488 (patch)
tree42b99083b5c70ca14727a16010fd9caa7562e3bc /src/routes/(app)/send/bitcoin
parent4cb3b467486456b53c956da95cdc0d17c3e6ff24 (diff)
downloadcoinos-ui-b419ccffd45add72259f4abe548ad29b61309488.tar.gz
coinos-ui-b419ccffd45add72259f4abe548ad29b61309488.zip
prettier
Diffstat (limited to 'src/routes/(app)/send/bitcoin')
-rw-r--r--src/routes/(app)/send/bitcoin/[address]/+page.svelte6
-rw-r--r--src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.server.js2
-rw-r--r--src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte9
3 files changed, 13 insertions, 4 deletions
diff --git a/src/routes/(app)/send/bitcoin/[address]/+page.svelte b/src/routes/(app)/send/bitcoin/[address]/+page.svelte
index 93a5fe5a..2ed99823 100644
--- a/src/routes/(app)/send/bitcoin/[address]/+page.svelte
+++ b/src/routes/(app)/send/bitcoin/[address]/+page.svelte
@@ -24,7 +24,11 @@
};
</script>
-<button type="button" class="ml-5 md:ml-20 mt-5 md:mt-10 hover:opacity-80" on:click={back}>
+<button
+ type="button"
+ class="ml-5 md:ml-20 mt-5 md:mt-10 hover:opacity-80"
+ on:click={back}
+>
<Icon icon="arrow-left" style="w-10" />
</button>
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 08741296..9af95188 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
@@ -20,7 +20,7 @@ export async function load({ params: { address, amount, feeRate }, cookies }) {
return { amount, address, fee, fees, feeRate, ourfee, hex };
} catch (e) {
throw redirect(307, `/send/bitcoin/${address}`);
- }
+ }
}
export const actions = {
diff --git a/src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte b/src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte
index 37ec4d14..263448de 100644
--- a/src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte
+++ b/src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte
@@ -42,10 +42,15 @@
};
let setFee = () => goto(`/send/bitcoin/${address}/${amount}/${feeRate}`);
- let goBack = () => goto(`/send/bitcoin/${address}`)
+ let goBack = () => goto(`/send/bitcoin/${address}`);
</script>
-<button type="button" class="ml-5 md:ml-20 mt-5 md:mt-10 hover:opacity-80" on:click={goBack}>
+<button
+ type="button"
+ class="ml-5 md:ml-20 mt-5 md:mt-10 hover:opacity-80"
+ data-sveltekit-preload-data="false"
+ on:click={goBack}
+>
<Icon icon="arrow-left" style="w-10" />
</button>