Fix community remove (#110)
This commit is contained in:
parent
8d7898e9a1
commit
023c1ace73
|
@ -81,7 +81,7 @@ export const CardCommunity = ({
|
|||
<CardLogoWrap>
|
||||
{' '}
|
||||
<CardLogo src={community.icon} alt={`${community.name} logo`} />
|
||||
{community.directoryInfo && showRemoveButton && !currentVoting && (
|
||||
{showRemoveButton && !currentVoting && (
|
||||
<RemoveBtnMobile onClick={() => setShowRemoveModal(true)} disabled={!account} />
|
||||
)}
|
||||
</CardLogoWrap>
|
||||
|
@ -89,7 +89,7 @@ export const CardCommunity = ({
|
|||
<CommunityInfo>
|
||||
<CardTop>
|
||||
<CardHeading>{customHeading ? customHeading : community.name}</CardHeading>
|
||||
{community.directoryInfo && showRemoveButton && !currentVoting && (
|
||||
{showRemoveButton && !currentVoting && (
|
||||
<RemoveBtn onClick={() => setShowRemoveModal(true)} disabled={!account} />
|
||||
)}
|
||||
</CardTop>
|
||||
|
|
Loading…
Reference in New Issue