aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
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