aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/fund
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-11-14 10:55:08 -0800
committerAdam Soltys <[email protected]>2024-11-14 10:55:08 -0800
commit614fbd99b7963ec89666b8b4252fa5f73c81653c (patch)
treed2231fb5aecde3de16242f96b1de5d8c805ebe57 /src/routes/(app)/fund
parentd0f19f20021cab8c740bda8c3d360748fd6c30de (diff)
downloadcoinos-ui-614fbd99b7963ec89666b8b4252fa5f73c81653c.tar.gz
coinos-ui-614fbd99b7963ec89666b8b4252fa5f73c81653c.zip
amount component
Diffstat (limited to 'src/routes/(app)/fund')
-rw-r--r--src/routes/(app)/fund/[id]/sweep/+page.svelte4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/(app)/fund/[id]/sweep/+page.svelte b/src/routes/(app)/fund/[id]/sweep/+page.svelte
index a34a8610..cd89f6ae 100644
--- a/src/routes/(app)/fund/[id]/sweep/+page.svelte
+++ b/src/routes/(app)/fund/[id]/sweep/+page.svelte
@@ -1,6 +1,6 @@
<script>
import { scale } from "svelte/transition";
- import { fiat, f, s } from "$lib/utils";
+ import { toFiat, f, s } from "$lib/utils";
import Icon from "$comp/Icon.svelte";
import { t } from "$lib/translations";
@@ -25,7 +25,7 @@
{$t("payments.fundsClaimed")}
</h1>
<h2 class="text-2xl md:text-3xl font-semibold">
- {f(fiat(amount, rate), currency)}
+ {f(toFiat(amount, rate), currency)}
</h2>
<h3 class="text-secondary md:text-lg mb-6 mt-1">
⚡️{s(amount)}