show zaps total in zaps tab

This commit is contained in:
Alejandro Gomez
2023-02-05 12:25:35 +01:00
parent 62ae180652
commit 31b4954f13
4 changed files with 26 additions and 13 deletions

View File

@ -123,7 +123,7 @@ export default function ProfilePage() {
case ProfileTab.Zaps: {
return (
<div className="main-content">
<h4>{formatShort(zapsTotal)} sats</h4>
<h4 className="zaps-total">{formatShort(zapsTotal)} sats</h4>
{zaps.map(z => <ZapElement showZapped={false} zap={z} />)}
</div>
)