aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/account
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-26 13:36:28 -0800
committerAdam Soltys <[email protected]>2026-02-26 13:36:28 -0800
commita5faa64ba470f935ea3e7932feece3cd9fbadb90 (patch)
tree79ec7d6cb2038b5920d5cca977a244fbb189923c /src/routes/(app)/account
parentb137cdfca84cf68a2b8a620ba1c55337e88a0050 (diff)
downloadcoinos-ui-a5faa64ba470f935ea3e7932feece3cd9fbadb90.tar.gz
coinos-ui-a5faa64ba470f935ea3e7932feece3cd9fbadb90.zip
ark tests
Diffstat (limited to 'src/routes/(app)/account')
-rw-r--r--src/routes/(app)/account/[id]/+page.svelte5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/routes/(app)/account/[id]/+page.svelte b/src/routes/(app)/account/[id]/+page.svelte
index 065b85c6..62c4beea 100644
--- a/src/routes/(app)/account/[id]/+page.svelte
+++ b/src/routes/(app)/account/[id]/+page.svelte
@@ -5,7 +5,7 @@
import Toggle from "$comp/Toggle.svelte";
import WalletPass from "$comp/WalletPass.svelte";
import { goto } from "$app/navigation";
- import { copy, fail, focus, post } from "$lib/utils";
+ import { copy, fail, focus, loc, post } from "$lib/utils";
import { importing } from "$lib/store";
import { enhance } from "$app/forms";
import { t } from "$lib/translations";
@@ -33,6 +33,7 @@
let name = $state(data.account.name || displayType);
let currency = $state(data.account.currency || data.user.currency);
let userCurrency = $derived(data.user.currency);
+ let locale = $derived(loc(data.user));
let currencyChanged = $derived(currency !== userCurrency);
let updateUserCurrency = $state(false);
@@ -325,6 +326,7 @@
<Numpad
bind:amount={threshold}
{currency}
+ {locale}
bind:rate
bind:submit={doneReserve}
bind:element={thresholdEl}
@@ -341,6 +343,7 @@
<Numpad
bind:amount={reserve}
{currency}
+ {locale}
bind:rate
bind:submit={doneReserve}
bind:element={reserveEl}