diff options
| author | Adam Soltys <[email protected]> | 2025-08-20 13:42:50 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-08-20 13:42:50 -0700 |
| commit | c0ba00eae40dde1811fcb52099840b2b42120271 (patch) | |
| tree | 31c6f8fd778315dc4b7dad23b7135564a6932b31 /src/routes/(app)/send/fund | |
| parent | e129c615b1b46ea307a00994c84cb2ed086d8c51 (diff) | |
| download | coinos-ui-c0ba00eae40dde1811fcb52099840b2b42120271.tar.gz coinos-ui-c0ba00eae40dde1811fcb52099840b2b42120271.zip | |
numpad fixes
Diffstat (limited to 'src/routes/(app)/send/fund')
| -rw-r--r-- | src/routes/(app)/send/fund/[...name]/[...amount]/+page.svelte | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/routes/(app)/send/fund/[...name]/[...amount]/+page.svelte b/src/routes/(app)/send/fund/[...name]/[...amount]/+page.svelte index 652e0885..d34ed073 100644 --- a/src/routes/(app)/send/fund/[...name]/[...amount]/+page.svelte +++ b/src/routes/(app)/send/fund/[...name]/[...amount]/+page.svelte @@ -6,7 +6,7 @@ import { page } from "$app/stores"; import { pin } from "$lib/store"; import handler from "$lib/handler"; - import { s } from "$lib/utils"; + import { loc, s } from "$lib/utils"; import { applyAction, deserialize } from "$app/forms"; let { data, form } = $props(); @@ -15,6 +15,7 @@ let { name, rate } = $derived(data); let loading = $state(); let fiat = $state(); + let locale = loc(user); let submit = $state(); let submitting = $state(); @@ -49,7 +50,7 @@ {/if} <div class="container px-4 mt-20 max-w-xl mx-auto"> - <Numpad bind:amount {currency} {rate} {fiat} {submit} /> + <Numpad bind:amount {currency} {rate} {fiat} {submit} {locale} /> <form use:enhance={handler(toggle)} |
