import { useRouter } from 'next/router'; import FilterLink from 'components/common/FilterLink'; import useCountryNames from 'hooks/useCountryNames'; import useLocale from 'hooks/useLocale'; import useMessages from 'hooks/useMessages'; import MetricsTable from './MetricsTable'; export function CountriesTable({ websiteId, ...props }) { const { locale } = useLocale(); const countryNames = useCountryNames(locale); const { formatMessage, labels } = useMessages(); const { basePath } = useRouter(); function renderLink({ x: code }) { return ( {code} ); } return ( ); } export default CountriesTable;