From 234cc989f19093b7dcc2512081aa78f822904058 Mon Sep 17 00:00:00 2001 From: Damien Ostler Date: Mon, 3 Jun 2024 21:23:08 -0400 Subject: [PATCH] fixed: nsfw button --- app/gallery/admin/page.tsx | 2 +- components/neroshitron/search.tsx | 1 + components/neroshitron/search_input.tsx | 8 ++++---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/gallery/admin/page.tsx b/app/gallery/admin/page.tsx index 3a6cf8d..5e203a9 100644 --- a/app/gallery/admin/page.tsx +++ b/app/gallery/admin/page.tsx @@ -108,7 +108,7 @@ function PageComponent() { startingTags={[]} placeholderTags={[ { value: "tags", label: "❗️ click here to add tags to search" } - ]} nsfwButtonEnabled={true} searchChanged={(search) => { setSearchState(search) }} nsfwChanged={(nsfw) => { setNsfwState(nsfw) }} tagsChanged={(tags) => { setTagsState(tags) }} /> + ]} nsfwButtonEnabled={false} searchChanged={(search) => { setSearchState(search) }} nsfwChanged={(nsfw) => { setNsfwState(nsfw) }} tagsChanged={(tags) => { setTagsState(tags) }} /> + Gallery diff --git a/components/neroshitron/search.tsx b/components/neroshitron/search.tsx index 03cb64a..c9836e7 100644 --- a/components/neroshitron/search.tsx +++ b/components/neroshitron/search.tsx @@ -45,6 +45,7 @@ const Search = ({ gallerySelected }: SearchProps) => {
-
+