diff --git a/frontend/packages/client/src/components/Community/CommunityCard.js b/frontend/packages/client/src/components/Community/CommunityCard.js index 73dd71340..4dda9e00b 100644 --- a/frontend/packages/client/src/components/Community/CommunityCard.js +++ b/frontend/packages/client/src/components/Community/CommunityCard.js @@ -78,7 +78,10 @@ const CommunityCard = ({ logo, name, body, id, slug, hideJoin }) => { className="is-flex is-align-items-center mr-2" style={{ maxWidth: 40 }} > - + )} diff --git a/frontend/packages/client/src/components/Community/JoinCommunityButton.js b/frontend/packages/client/src/components/Community/JoinCommunityButton.js index b2d2e6948..56edd0929 100644 --- a/frontend/packages/client/src/components/Community/JoinCommunityButton.js +++ b/frontend/packages/client/src/components/Community/JoinCommunityButton.js @@ -12,6 +12,7 @@ export default function JoinCommunityButton({ onLeaveCommunity = async () => {}, onJoinCommunity = async () => {}, size = 'small', + hasTooltip = false, }) { const [isModalErrorOpened, setIsModalErrorOpened] = useState(false); const { createCommunityUser, deleteUserFromCommunity } = useJoinCommunity(); @@ -109,7 +110,7 @@ export default function JoinCommunityButton({ > - {!isMember && ( + {!isMember && hasTooltip && ( Watch this community