forked from Kieran/zap.stream
fix: filter by valid zaps
This commit is contained in:
parent
d9cf7e4236
commit
afd8313ea2
@ -80,7 +80,7 @@ export function LiveChat({
|
||||
const zaps = events
|
||||
.filter((ev) => ev.kind === EventKind.ZapReceipt)
|
||||
.map((ev) => parseZap(ev, System.ProfileLoader.Cache))
|
||||
.filter((z) => z);
|
||||
.filter((z) => z && z.valid);
|
||||
return (
|
||||
<div className="live-chat">
|
||||
{(options?.showHeader ?? true) && (
|
||||
|
Loading…
Reference in New Issue
Block a user