From c19011c07d829849a7472be62f9d0050bccc00d2 Mon Sep 17 00:00:00 2001 From: "Tom (plebeius.eth)" Date: Sat, 26 Oct 2024 21:46:33 +0200 Subject: [PATCH] Update sidebar.tsx --- src/components/sidebar/sidebar.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/sidebar/sidebar.tsx b/src/components/sidebar/sidebar.tsx index b7c54518..8153d659 100644 --- a/src/components/sidebar/sidebar.tsx +++ b/src/components/sidebar/sidebar.tsx @@ -267,10 +267,12 @@ const Sidebar = ({ comment, isSubCreatedButNotYetPublished, settings, subplebbit {t('create_your_community')}
-
alert('This feature is not available yet.')}> - {t('submit_community')} -
-
+ {isInSubplebbitsView && ( +
alert('This feature is not available yet.')}> + {t('submit_community')} +
+
+ )}