diff --git a/pages/t/index.tsx b/pages/t/index.tsx index 6defca446..0377d4529 100644 --- a/pages/t/index.tsx +++ b/pages/t/index.tsx @@ -66,7 +66,9 @@ const TeamsPage: React.FC = ({ teams }) => { {teams .flatMap((team) => - team.roster.map((user) => user.profile?.country) + Array.from( + new Set(team.roster.map((user) => user.profile?.country)) + ) ) .reduce((acc: [string, number][], cur) => { if (!cur) return acc;