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 | a4aba929eee1f7cad95d1c58eb322175b5e6cfbc (patch) | |
| tree | 64c640dec49e063659506cb45957cb62b26c87a8 /src/components | |
| parent | 0916c812a85be30c9ce3935475f435a67857a06b (diff) | |
| download | coinos-ui-a4aba929eee1f7cad95d1c58eb322175b5e6cfbc.tar.gz coinos-ui-a4aba929eee1f7cad95d1c58eb322175b5e6cfbc.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> |
