Fix balance coming from webln
This commit is contained in:
@@ -49,7 +49,7 @@
|
|||||||
.then(() => getWebLn().getBalance())}
|
.then(() => getWebLn().getBalance())}
|
||||||
<span class="loading loading-spinner loading-sm"></span>
|
<span class="loading loading-spinner loading-sm"></span>
|
||||||
{:then res}
|
{:then res}
|
||||||
{new Intl.NumberFormat(LOCALE).format(fromMsats(res?.balance || 0))}
|
{new Intl.NumberFormat(LOCALE).format(res?.balance || 0)}
|
||||||
{:catch}
|
{:catch}
|
||||||
[unknown]
|
[unknown]
|
||||||
{/await}
|
{/await}
|
||||||
|
|||||||
Reference in New Issue
Block a user