aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/SetAmount.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/SetAmount.svelte')
-rw-r--r--src/components/SetAmount.svelte10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/components/SetAmount.svelte b/src/components/SetAmount.svelte
index 5b703896..ddf90a17 100644
--- a/src/components/SetAmount.svelte
+++ b/src/components/SetAmount.svelte
@@ -6,6 +6,7 @@
let {
currency = $bindable(),
fiat = $bindable(),
+ locale = $bindable(),
rate = $bindable(),
submit = $bindable(),
settingAmount,
@@ -24,7 +25,14 @@
class="relative mx-auto p-12 max-w-xl shadow-lg rounded-md bg-base-100 space-y-5"
>
<form onsubmit={setAmount} class="space-y-5">
- <Numpad bind:amount={newAmount} bind:fiat {currency} {rate} {submit} />
+ <Numpad
+ bind:amount={newAmount}
+ bind:fiat
+ {currency}
+ {rate}
+ {submit}
+ {locale}
+ />
<div class="w-full flex flex-wrap gap-2">
<button
bind:this={submit}