From 4994b26520b0549ed6d845e6644193f4cb425729 Mon Sep 17 00:00:00 2001 From: codytseng Date: Tue, 25 Feb 2025 15:25:55 +0800 Subject: [PATCH] feat: remove kind 20 events from the main feed --- src/components/NoteList/index.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/NoteList/index.tsx b/src/components/NoteList/index.tsx index c4ce3312..2a04a94a 100644 --- a/src/components/NoteList/index.tsx +++ b/src/components/NoteList/index.tsx @@ -53,9 +53,7 @@ export default function NoteList({ const isPictures = useMemo(() => listMode === 'pictures', [listMode]) const noteFilter = useMemo(() => { return { - kinds: isPictures - ? [PICTURE_EVENT_KIND] - : [kinds.ShortTextNote, kinds.Repost, PICTURE_EVENT_KIND], + kinds: isPictures ? [PICTURE_EVENT_KIND] : [kinds.ShortTextNote, kinds.Repost], ...filter } }, [JSON.stringify(filter), isPictures])