fix unknown icon and country render link
This commit is contained in:
@@ -12,7 +12,11 @@ export function CountriesTable({ ...props }: MetricsTableProps) {
|
||||
|
||||
const renderLink = ({ x: code }) => {
|
||||
return (
|
||||
<FilterLink id="country" value={countryNames[code] && code} label={formatCountry(code)}>
|
||||
<FilterLink
|
||||
id="country"
|
||||
value={(countryNames[code] && code) || code}
|
||||
label={formatCountry(code)}
|
||||
>
|
||||
<TypeIcon type="country" value={code?.toLowerCase()} />
|
||||
</FilterLink>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user