aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-09-25 14:06:54 -0700
committerAdam Soltys <[email protected]>2024-09-25 14:06:54 -0700
commit02419e460b60ae1ae8f3950148b59a3854426998 (patch)
tree12b39ce472e8f217a3590fbc3deb02eb1cea2f4c /src/components
parent9a2b381066e0bc617d807fc93357eaac9813fca8 (diff)
downloadcoinos-ui-02419e460b60ae1ae8f3950148b59a3854426998.tar.gz
coinos-ui-02419e460b60ae1ae8f3950148b59a3854426998.zip
fix balance button
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Balance.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Balance.svelte b/src/components/Balance.svelte
index 3e913615..fb02cf60 100644
--- a/src/components/Balance.svelte
+++ b/src/components/Balance.svelte
@@ -17,7 +17,7 @@
{#if user.haspin && !$pin}
<button
class="flex gap-2 text-xl rounded-2xl border py-5 px-6 hover:opacity-80 bg-black text-white font-bold"
- on:click={() => (show = true)}
+ on:click|preventDefault={() => (show = true)}
>
<Icon icon="eye" style="w-8 invert my-auto" />
<div class="my-auto">{$t("user.showBalance")}</div></button