import React from 'react'; import { useSelector } from 'react-redux'; import { translate as __ } from 'foremanReact/common/I18n'; import { Grid, GridItem, Flex, FlexItem, Tooltip } from '@patternfly/react-core'; import { InProgressIcon, OutlinedQuestionCircleIcon } from '@patternfly/react-icons'; import ContentViewIcon from './ContentViewIcon'; import { selectOrganizationState } from '../../Organizations/OrganizationSelectors'; const ContentViewsCounter = () => { const organization = useSelector(selectOrganizationState); const { composite_content_views_count: composite, content_view_components_count: component, } = organization; if (composite || component) { return ( } /> } /> ); } return <>; }; export default ContentViewsCounter;