diff options
| author | Adam Soltys <[email protected]> | 2024-11-14 10:55:08 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-11-14 10:55:08 -0800 |
| commit | adf232ae340407ddfabbc0020a4a0dd98df34cfd (patch) | |
| tree | d2231fb5aecde3de16242f96b1de5d8c805ebe57 /src/routes/(app)/fund | |
| parent | 0d9dad1c2461a8fbda90ab1864d69e0869164b0b (diff) | |
| download | coinos-ui-adf232ae340407ddfabbc0020a4a0dd98df34cfd.tar.gz coinos-ui-adf232ae340407ddfabbc0020a4a0dd98df34cfd.zip | |
amount component
Diffstat (limited to 'src/routes/(app)/fund')
| -rw-r--r-- | src/routes/(app)/fund/[id]/sweep/+page.svelte | 4 |
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)} |
