import { Avatar } from "@/components/avatar"; import type { ProfileRow } from "./page"; export function EntryRanking({ profiles, entryCounts, }: { profiles: ProfileRow[]; entryCounts: Record; }) { const sorted = [...profiles].sort((a, b) => { const diff = (entryCounts[b.id] ?? 0) - (entryCounts[a.id] ?? 0); return diff !== 0 ? diff : a.pseudo.localeCompare(b.pseudo); }); return (

Passages dans le char

); }