aboutsummaryrefslogtreecommitdiffstats
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
parent9a2b381066e0bc617d807fc93357eaac9813fca8 (diff)
downloadcoinos-ui-02419e460b60ae1ae8f3950148b59a3854426998.tar.gz
coinos-ui-02419e460b60ae1ae8f3950148b59a3854426998.zip
fix balance button
-rw-r--r--src/components/Balance.svelte2
-rw-r--r--src/locales/en.json2
2 files changed, 2 insertions, 2 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
diff --git a/src/locales/en.json b/src/locales/en.json
index fe67a2b7..d44f3c53 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -17,7 +17,7 @@
"accountSetup": "Account setup",
"enterSeed": "Enter a seed phrase",
"passwordMismatch": "Passwords don't match",
- "generateSeed": "Generate a new seed phrase in your browser",
+ "generateSeed": "Generate a new seed phrase",
"accountPassword": "Account password",
"importSeed": "Enter an existing seed phrase",
"passwordWarning": "If you lose this password you won't be able to withdraw funds from the account or restore your seed phrase. We can't recover it for you.",