diff --git a/app/components/LeaderboardScreen.tsx b/app/components/LeaderboardScreen.tsx index 1c73d5b..1e3a4cb 100644 --- a/app/components/LeaderboardScreen.tsx +++ b/app/components/LeaderboardScreen.tsx @@ -81,30 +81,20 @@ export function LeaderboardScreen({ onBack }: { onBack: () => void }) { const wins = mode === "solo" ? row.soloWins : mode === "multi" ? row.multiWins : row.wins; return ( -
- {MEDALS[i] ?? `#${i + 1}`} - {row.name} -
-
- {wins} - victoires +
+ {MEDALS[i] ?? `#${i + 1}`} +
+ {row.name} +
+ {wins} victoires + {games} parties + {row.avgClicks != null && ( + {row.avgClicks} clics moy. + )} + {row.bestTime != null && ( + {fmt(row.bestTime)} meilleur + )}
-
- {games} - parties -
- {row.avgClicks != null && ( -
- {row.avgClicks} - moy. clics -
- )} - {row.bestTime != null && ( -
- {fmt(row.bestTime)} - meilleur -
- )}
);