diff options
| author | Adam Soltys <[email protected]> | 2022-11-03 01:54:30 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-11-03 01:54:30 -0700 |
| commit | 067c8d8762e2d039b4cc19cd2fee24e4d07e661a (patch) | |
| tree | 23715a429bf441be2723fae7267a3a685fe02ec3 /src | |
| parent | 3d96a06df19a937414074c70f5e880811bed3c3b (diff) | |
| download | coinos-ui-067c8d8762e2d039b4cc19cd2fee24e4d07e661a.tar.gz coinos-ui-067c8d8762e2d039b4cc19cd2fee24e4d07e661a.zip | |
lightning symbol on dashboard
Diffstat (limited to 'src')
| -rw-r--r-- | src/routes/(app)/[username]/dashboard/+page.svelte | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/routes/(app)/[username]/dashboard/+page.svelte b/src/routes/(app)/[username]/dashboard/+page.svelte index 160887e3..fe685cc7 100644 --- a/src/routes/(app)/[username]/dashboard/+page.svelte +++ b/src/routes/(app)/[username]/dashboard/+page.svelte @@ -1,5 +1,5 @@ <script> - import { f, s, post, failure, sats } from '$lib/utils'; + import { f, s, post, failure, sat, sats } from '$lib/utils'; import { tick } from 'svelte'; import { Icon } from '$comp'; import { rate, selectedRate } from '$lib/store'; @@ -40,8 +40,6 @@ $: btcPrice = f($selectedRate, user.currency); $: accountBalanceBtc = user.account.balance / sats; - - $: accountBalanceSats = s(user.account.balance); </script> <div class="container px-4 max-w-md mx-auto mt-20"> @@ -50,7 +48,7 @@ </div> <div class="text-secondary text-2xl"> - {accountBalanceSats} SAT + {sat(user.account.balance)} </div> <div class="grid sm:grid-cols-2 gap-2 mt-8"> |
