From 3f800104340ca4b6f9eb55b373f3fc2942c97bad Mon Sep 17 00:00:00 2001 From: sunaurus Date: Sun, 18 Jun 2023 14:02:49 +0300 Subject: [PATCH] Always allow users to control whether they see NSFW content --- src/shared/components/home/signup.tsx | 33 ++++++++++------------- src/shared/components/person/settings.tsx | 29 +++++++++----------- 2 files changed, 27 insertions(+), 35 deletions(-) diff --git a/src/shared/components/home/signup.tsx b/src/shared/components/home/signup.tsx index 16a3cc6..71398a8 100644 --- a/src/shared/components/home/signup.tsx +++ b/src/shared/components/home/signup.tsx @@ -298,27 +298,22 @@ export class Signup extends Component { )} {this.renderCaptcha()} - {siteView.local_site.enable_nsfw && ( -
-
-
- - -
+
+
+
+ +
- )} +
{ />
- {enableNsfw(this.state.siteRes) && ( -
-
- - -
+
+
+ +
- )} +