bug: profile zaps

This commit is contained in:
2023-02-04 22:43:04 +00:00
parent 6d7892ac66
commit 1458611fc7
3 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@ export default function ProfilePage() {
const profileZaps = zapFeed.store.notes.map(parseZap).filter(z => z.valid && z.p === id && !z.e && z.zapper !== id)
profileZaps.sort((a, b) => b.amount - a.amount)
return profileZaps
}, [zapFeed.store.notes, id])
}, [zapFeed.store, id])
const zapsTotal = zaps.reduce((acc, z) => acc + z.amount, 0)
useEffect(() => {