const countries = [...new Set(cities)].map(elem => (
{
country: elem.country,
emoji: elem.emoji
}
));
const countries = [...new Set(cities)].map(elem => (
{
country: elem.country,
emoji: elem.emoji
}
));