From a4aba929eee1f7cad95d1c58eb322175b5e6cfbc Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 12 Dec 2024 22:39:47 -0800 Subject: pass locale around --- src/components/Success.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components') 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 @@ > {/if}

{title}

- + -- cgit v1.2.3