import MetricsTable from './MetricsTable'; import { percentFilter } from 'lib/filters'; import useLanguageNames from 'hooks/useLanguageNames'; import useLocale from 'hooks/useLocale'; import useMessages from 'hooks/useMessages'; export function LanguagesTable({ websiteId, onDataLoad, ...props }) { const { formatMessage, labels } = useMessages(); const { locale } = useLocale(); const languageNames = useLanguageNames(locale); const renderLabel = ({ x }) => { return