aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-09-28 13:04:35 -0700
committerAdam Soltys <[email protected]>2022-09-28 13:04:35 -0700
commit8cfba57fced2548f3d2cf7cccaf43844ddbc3520 (patch)
tree87b7ab58c2e5d710dea4d294ccf671c658c7e624
parentbaa21e5ea0d908ab5abc6285b9126b9361007350 (diff)
downloadcoinos-ui-8cfba57fced2548f3d2cf7cccaf43844ddbc3520.tar.gz
coinos-ui-8cfba57fced2548f3d2cf7cccaf43844ddbc3520.zip
format fiat balance
-rw-r--r--src/routes/[username]/dashboard/+page.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/[username]/dashboard/+page.svelte b/src/routes/[username]/dashboard/+page.svelte
index c17001b5..a580f349 100644
--- a/src/routes/[username]/dashboard/+page.svelte
+++ b/src/routes/[username]/dashboard/+page.svelte
@@ -92,7 +92,7 @@
<span class="text-3xl font-bold block mb-1">{accountBalanceSats} SAT</span>
<span class="text-secondary text-xl block"
- >{$selectedRate ? accountBalanceFiat : $t('user.dashboard.fetchingRate')}</span
+ >{$selectedRate ? f(accountBalanceFiat, user.currency) : $t('user.dashboard.fetchingRate')}</span
>
<div class="md:flex md:space-x-5">