From 023c1ace738611a89e43ad339f2ef27325115640 Mon Sep 17 00:00:00 2001 From: Szymon Szlachtowicz <38212223+Szymx95@users.noreply.github.com> Date: Tue, 13 Jul 2021 17:36:34 +0200 Subject: [PATCH] Fix community remove (#110) --- packages/DApp/src/components/card/CardCommunity.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/DApp/src/components/card/CardCommunity.tsx b/packages/DApp/src/components/card/CardCommunity.tsx index dc09294..b1ce664 100644 --- a/packages/DApp/src/components/card/CardCommunity.tsx +++ b/packages/DApp/src/components/card/CardCommunity.tsx @@ -81,7 +81,7 @@ export const CardCommunity = ({ {' '} - {community.directoryInfo && showRemoveButton && !currentVoting && ( + {showRemoveButton && !currentVoting && ( setShowRemoveModal(true)} disabled={!account} /> )} @@ -89,7 +89,7 @@ export const CardCommunity = ({ {customHeading ? customHeading : community.name} - {community.directoryInfo && showRemoveButton && !currentVoting && ( + {showRemoveButton && !currentVoting && ( setShowRemoveModal(true)} disabled={!account} /> )}