feat: remove kind 20 events from the main feed
This commit is contained in:
parent
68fffa0af2
commit
4994b26520
1 changed files with 1 additions and 3 deletions
|
|
@ -53,9 +53,7 @@ export default function NoteList({
|
||||||
const isPictures = useMemo(() => listMode === 'pictures', [listMode])
|
const isPictures = useMemo(() => listMode === 'pictures', [listMode])
|
||||||
const noteFilter = useMemo(() => {
|
const noteFilter = useMemo(() => {
|
||||||
return {
|
return {
|
||||||
kinds: isPictures
|
kinds: isPictures ? [PICTURE_EVENT_KIND] : [kinds.ShortTextNote, kinds.Repost],
|
||||||
? [PICTURE_EVENT_KIND]
|
|
||||||
: [kinds.ShortTextNote, kinds.Repost, PICTURE_EVENT_KIND],
|
|
||||||
...filter
|
...filter
|
||||||
}
|
}
|
||||||
}, [JSON.stringify(filter), isPictures])
|
}, [JSON.stringify(filter), isPictures])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue