From edcd8f0f9866fc92f6c9550cda37a5af63c16892 Mon Sep 17 00:00:00 2001 From: Katalina Okano Date: Tue, 26 Jul 2022 17:07:21 -0400 Subject: [PATCH] fix(ui): comment out server utilities as none are active features. (fixes #639) --- .../molecules/server-utilities/ServerUtilities.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/design-system/molecules/server-utilities/ServerUtilities.tsx b/packages/design-system/molecules/server-utilities/ServerUtilities.tsx index a8719ad..f3f105b 100644 --- a/packages/design-system/molecules/server-utilities/ServerUtilities.tsx +++ b/packages/design-system/molecules/server-utilities/ServerUtilities.tsx @@ -4,9 +4,8 @@ import { MainSide, Title, } from '@roleypoly/design-system/molecules/server-utilities/ServerUtilities.styled'; -import { hasFeature } from '@roleypoly/misc-utils/hasFeature'; -import { Features, GuildData } from '@roleypoly/types'; -import { GoArchive, GoChevronRight, GoReport, GoShield } from 'react-icons/go'; +import { GuildData } from '@roleypoly/types'; +import { GoChevronRight } from 'react-icons/go'; type Props = { guildData: GuildData; @@ -30,7 +29,7 @@ const Utility = (props: { export const ServerUtilities = (props: Props) => (
- {hasFeature(props.guildData.features, Features.AccessControl) && ( + {/* {hasFeature(props.guildData.features, Features.AccessControl) && ( @@ -65,6 +64,6 @@ export const ServerUtilities = (props: Props) => ( description="Export or delete all of your Roleypoly data." link={`/s/${props.guildData.id}/edit/data`} /> - )} + )} */}
);