diff options
| author | Adam Soltys <[email protected]> | 2026-02-26 13:36:28 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-26 13:36:28 -0800 |
| commit | a5faa64ba470f935ea3e7932feece3cd9fbadb90 (patch) | |
| tree | 79ec7d6cb2038b5920d5cca977a244fbb189923c /src/components/Lnurlw.svelte | |
| parent | b137cdfca84cf68a2b8a620ba1c55337e88a0050 (diff) | |
| download | coinos-ui-a5faa64ba470f935ea3e7932feece3cd9fbadb90.tar.gz coinos-ui-a5faa64ba470f935ea3e7932feece3cd9fbadb90.zip | |
ark tests
Diffstat (limited to 'src/components/Lnurlw.svelte')
| -rw-r--r-- | src/components/Lnurlw.svelte | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/Lnurlw.svelte b/src/components/Lnurlw.svelte index a743bba5..0cc6f824 100644 --- a/src/components/Lnurlw.svelte +++ b/src/components/Lnurlw.svelte @@ -1,7 +1,7 @@ <script lang="ts"> import { tick } from "svelte"; import handler from "$lib/handler"; - import { sats, f, s, focus } from "$lib/utils"; + import { sats, f, s, focus, loc } from "$lib/utils"; import { t } from "$lib/translations"; import { enhance } from "$app/forms"; import Numpad from "$comp/Numpad.svelte"; @@ -11,6 +11,7 @@ let { data, form } = $props(); let currency = $derived(data.user.currency); + let locale = $derived(loc(data.user)); let username = $derived(data.user.username); let defaultDescription = $derived(data.defaultDescription); let minWithdrawable = $derived(data.minWithdrawable); @@ -56,7 +57,7 @@ {/if} </div> {:else} - <Numpad bind:amount {currency} {rate} /> + <Numpad bind:amount {currency} {rate} {locale} /> {/if} <form use:enhance={handler(toggle)} action="?/withdraw" method="POST" class="space-y-5"> |
