aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-04-25 12:03:30 -0700
committerAdam Soltys <[email protected]>2024-04-25 12:03:30 -0700
commit3e3f89bdb199dd18b47f6e1c7883bbbc9bcecefc (patch)
tree8da5ea12f9df2905bdaee537eaa6e6e419a6fd95 /src
parent0ed6d00cb2366af86e3b06fa74e4c33536027f07 (diff)
downloadcoinos-ui-3e3f89bdb199dd18b47f6e1c7883bbbc9bcecefc.tar.gz
coinos-ui-3e3f89bdb199dd18b47f6e1c7883bbbc9bcecefc.zip
button type submit
Diffstat (limited to 'src')
-rw-r--r--src/routes/(app)/register/+page.svelte4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/routes/(app)/register/+page.svelte b/src/routes/(app)/register/+page.svelte
index a2fff349..d6483635 100644
--- a/src/routes/(app)/register/+page.svelte
+++ b/src/routes/(app)/register/+page.svelte
@@ -84,7 +84,6 @@
let loading;
async function handleSubmit(e) {
- console.log("HERE")
loading = true;
let data = new FormData(this);
@@ -213,7 +212,6 @@
</div>
{/if}
- OHH
<form
class="space-y-5"
on:submit|preventDefault={handleSubmit}
@@ -293,7 +291,7 @@
<button
tabindex="3"
- type="button"
+ type="submit"
class="bg-black dark:bg-swapee-purple text-white w-full rounded-2xl p-4 font-semibold hover:opacity-80 active:scale-95 transition-all"
disabled={loading}
bind:this={btn}