aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-12-20 15:01:46 -0800
committerAdam Soltys <[email protected]>2023-12-20 15:01:46 -0800
commit4cb3b467486456b53c956da95cdc0d17c3e6ff24 (patch)
tree0eb0d784195fa026713e9646ec2dc1e17753c629 /src/routes/(app)
parent6f988f00bd49be2f34ce4055c6b684db5b6e062c (diff)
downloadcoinos-ui-4cb3b467486456b53c956da95cdc0d17c3e6ff24.tar.gz
coinos-ui-4cb3b467486456b53c956da95cdc0d17c3e6ff24.zip
absolute path for form action
Diffstat (limited to 'src/routes/(app)')
-rw-r--r--src/routes/(app)/send/bitcoin/[address]/+page.svelte4
-rw-r--r--src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/routes/(app)/send/bitcoin/[address]/+page.svelte b/src/routes/(app)/send/bitcoin/[address]/+page.svelte
index 7648d41f..93a5fe5a 100644
--- a/src/routes/(app)/send/bitcoin/[address]/+page.svelte
+++ b/src/routes/(app)/send/bitcoin/[address]/+page.svelte
@@ -24,7 +24,7 @@
};
</script>
-<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>
@@ -43,7 +43,7 @@
on:keydown={setMax}>Max ⚡️{s(balance)}</button
>
- <form action={`./${address}/${amount}`}>
+ <form action={`/send/bitcoin/${address}/${amount}`}>
<button
bind:this={submit}
type="submit"
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 c3a2fcdd..37ec4d14 100644
--- a/src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte
+++ b/src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte
@@ -45,7 +45,7 @@
let goBack = () => goto(`/send/bitcoin/${address}`)
</script>
-<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" on:click={goBack}>
<Icon icon="arrow-left" style="w-10" />
</button>