Browse Source

feat: remove kind 20 events from the main feed

imwald
codytseng 1 year ago
parent
commit
4994b26520
  1. 4
      src/components/NoteList/index.tsx

4
src/components/NoteList/index.tsx

@ -53,9 +53,7 @@ export default function NoteList({ @@ -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])

Loading…
Cancel
Save