import React from 'react'; import { FormattedMessage } from 'react-intl'; import { Link } from 'react-router-dom'; import { Divider, HStack, Icon, Text } from 'soapbox/components/ui'; import { useFeatures } from 'soapbox/hooks'; import { usePendingGroups } from 'soapbox/queries/groups'; export default () => { const features = useFeatures(); const { groups, isFetching } = usePendingGroups(); if (!features.groupsPending || isFetching || groups.length === 0) { return null; } return ( <>
); };