From 62b4c71eb5b2077f82b86d1496accd1211ec8e45 Mon Sep 17 00:00:00 2001 From: "Tom (plebeius.eth)" Date: Tue, 11 Jun 2024 10:25:25 +0200 Subject: [PATCH] fix: don't consider 'anti' tag as nsfw tag plebchan shouldn't consider 'vulgar' or 'anti' as nsfw tags, unlike more sfw-oriented plebbit clients like seedit --- src/views/home/home.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/home/home.tsx b/src/views/home/home.tsx index 3c61045d..7bea538b 100644 --- a/src/views/home/home.tsx +++ b/src/views/home/home.tsx @@ -11,7 +11,8 @@ import PopularThreadsBox from './popular-threads-box'; import BoardsBox from './boards-box'; // https://github.com/plebbit/temporary-default-subplebbits/blob/master/README.md -export const nsfwTags = ['adult', 'anti', 'gore']; +// plebchan shouldn't consider 'vulgar' or 'anti' as nsfw tags, unlike more sfw-oriented clients +export const nsfwTags = ['adult', 'gore']; const SearchBar = () => { const searchInputRef = useRef(null);