diff --git a/components/Leaderboard.tsx b/components/Leaderboard.tsx index f7f69c8..bb1ea1d 100644 --- a/components/Leaderboard.tsx +++ b/components/Leaderboard.tsx @@ -108,6 +108,10 @@ export const Leaderboard = ({ cars }: LeaderboardProps) => { {CATEGORIES.map(({ title, description, icon: Icon, colour }) => { const popularMakes = getPopularMakes(cars, title); + if (popularMakes.length === 0) { + return null; + } + return (