Fix balance coming from webln

This commit is contained in:
Jon Staab
2025-07-09 13:19:33 -07:00
parent 084d8d931b
commit 2460bbbc83

View File

@@ -49,7 +49,7 @@
.then(() => getWebLn().getBalance())}
<span class="loading loading-spinner loading-sm"></span>
{:then res}
{new Intl.NumberFormat(LOCALE).format(fromMsats(res?.balance || 0))}
{new Intl.NumberFormat(LOCALE).format(res?.balance || 0)}
{:catch}
[unknown]
{/await}