diff --git a/src/components/timeline-page/generic-note-timeline/index.tsx b/src/components/timeline-page/generic-note-timeline/index.tsx index 651a1cdd3..7ee592828 100644 --- a/src/components/timeline-page/generic-note-timeline/index.tsx +++ b/src/components/timeline-page/generic-note-timeline/index.tsx @@ -16,6 +16,7 @@ import { getEventUID, isReply } from "../../../helpers/nostr/events"; import ReplyNote from "./reply-note"; import RelayRecommendation from "./relay-recommendation"; import { ExtendedIntersectionObserverEntry, useIntersectionObserver } from "../../../providers/intersection-observer"; +import BadgeAwardCard from "../../../views/badges/components/badge-award-card"; function RenderEvent({ event }: { event: NostrEvent }) { let content: ReactNode | null = null; @@ -35,6 +36,8 @@ function RenderEvent({ event }: { event: NostrEvent }) { case Kind.RecommendRelay: content = ; break; + case Kind.BadgeAward: + content = ; default: content = Unknown event kind: {event.kind}; break; diff --git a/src/views/home/index.tsx b/src/views/home/index.tsx index 34b4dad7f..5899b75f4 100644 --- a/src/views/home/index.tsx +++ b/src/views/home/index.tsx @@ -30,7 +30,7 @@ function HomePage() { const { relays } = useRelaySelectionContext(); const { listId, filter } = usePeopleListContext(); - const kinds = [Kind.Text, Kind.Repost, Kind.Article, Kind.RecommendRelay]; + const kinds = [Kind.Text, Kind.Repost, Kind.Article, Kind.RecommendRelay, Kind.BadgeAward]; const query = useMemo(() => { if (filter === undefined) return { kinds }; return { ...filter, kinds };