diff --git a/src/components/Filters/FeedFilter.tsx b/src/components/Filters/FeedFilter.tsx index bdd8cb3..838723c 100644 --- a/src/components/Filters/FeedFilter.tsx +++ b/src/components/Filters/FeedFilter.tsx @@ -47,34 +47,37 @@ export const FeedFilter = React.memo( {/* source filter options */} - - - - + + + + )} {children} diff --git a/src/pages/feed/FeedTabPosts.tsx b/src/pages/feed/FeedTabPosts.tsx index 09176cc..58bd46f 100644 --- a/src/pages/feed/FeedTabPosts.tsx +++ b/src/pages/feed/FeedTabPosts.tsx @@ -68,15 +68,16 @@ export const FeedTabPosts = () => { ) // Filter source - _notes = _notes.filter( - (n) => - !( - filterOptions.source === window.location.host && - n - .getMatchingTags('l') - .some((l) => l[1] === window.location.host && l[2] === 'source') - ) - ) + // TODO: Enable source/client filter + // _notes = _notes.filter( + // (n) => + // !( + // filterOptions.source === window.location.host && + // n + // .getMatchingTags('l') + // .some((l) => l[1] === window.location.host && l[2] === 'source') + // ) + // ) // Filter reply events _notes = _notes.filter((n) => n.getMatchingTags('e').length === 0) @@ -85,7 +86,7 @@ export const FeedTabPosts = () => { showing > 0 && _notes.splice(showing) return _notes - }, [filterOptions.nsfw, filterOptions.source, notes, showing]) + }, [filterOptions.nsfw, notes, showing]) if (!userPubkey) return null