diff options
| author | Adam Soltys <[email protected]> | 2024-12-12 22:39:47 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-12-12 22:39:47 -0800 |
| commit | 0f8e6bfd3405e34baa74960e0861ad186f35505b (patch) | |
| tree | 64c640dec49e063659506cb45957cb62b26c87a8 /src/components | |
| parent | 77d26ffd911ff84e1cba3f7637ec27664ee815eb (diff) | |
| download | coinos-ui-0f8e6bfd3405e34baa74960e0861ad186f35505b.tar.gz coinos-ui-0f8e6bfd3405e34baa74960e0861ad186f35505b.zip | |
pass locale around
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/Success.svelte | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Success.svelte b/src/components/Success.svelte index 973e2d35..6cbe990e 100644 --- a/src/components/Success.svelte +++ b/src/components/Success.svelte @@ -3,7 +3,7 @@ import { scale } from "svelte/transition"; import Amount from "$comp/Amount.svelte"; import { Confetti } from "svelte-confetti"; - const { amount, tip, rate, currency, title } = $props(); + const { amount, tip, rate, currency, locale, title } = $props(); let loaded = $state(false); $effect(() => { @@ -55,5 +55,5 @@ ></iconify-icon> {/if} <h1 class="text-3xl md:text-4xl font-bold mb-6">{title}</h1> - <Amount {amount} {tip} {rate} {currency} /> + <Amount {amount} {tip} {rate} {currency} {locale} /> </div> |
