Fix balance coming from webln
This commit is contained in:
parent
084d8d931b
commit
2460bbbc83
1 changed files with 1 additions and 1 deletions
|
|
@ -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}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue