diff --git a/src/components/waitlist/Notes.tsx b/src/components/waitlist/Notes.tsx index df196ae..5df6a1d 100644 --- a/src/components/waitlist/Notes.tsx +++ b/src/components/waitlist/Notes.tsx @@ -34,9 +34,19 @@ const Note: Component<{ e: NostrEvent }> = (props) => { ) } +function filterReplies(event: Event) { + // If there's a "p" tag or an "e" tag we want to return false, otherwise true + for (const tag of event.tags) { + if (tag[0] === "p" || tag[0] === "e") { + return false + } + } + return true +} + const Notes: Component<{ notes: Event[] }> = (props) => { return (