diff --git a/src/app/matches/[id]/page.tsx b/src/app/matches/[id]/page.tsx index de8468c..e333b83 100644 --- a/src/app/matches/[id]/page.tsx +++ b/src/app/matches/[id]/page.tsx @@ -89,7 +89,7 @@ export default async function MatchDetailPage({ params }: PageProps) {
@@ -107,34 +107,17 @@ export default async function MatchDetailPage({ params }: PageProps) {
- {match.team2P2.name} -
-- Elo: {match.team2P2.currentElo} - {eloChanges[match.team2P2.id] !== undefined && ( - = 0 ? "text-green-600 ml-1" : "text-red-600 ml-1"}> - ({eloChanges[match.team2P2.id] >= 0 ? "+" : ""}{eloChanges[match.team2P2.id]}) - - )} -
-+
{match.team1P2.name}
-+
Elo: {match.team1P2.currentElo} {eloChanges[match.team1P2.id] !== undefined && ( - = 0 ? "text-green-600" : "text-red-600"}> + = 0 ? "text-green-600 ml-1" : "text-red-600 ml-1"}> ({eloChanges[match.team1P2.id] >= 0 ? "+" : ""}{eloChanges[match.team1P2.id]}) )} @@ -142,9 +125,9 @@ export default async function MatchDetailPage({ params }: PageProps) {
{match.team2P1.name}
@@ -159,6 +142,23 @@ export default async function MatchDetailPage({ params }: PageProps) {+ {match.team2P2.name} +
++ Elo: {match.team2P2.currentElo} + {eloChanges[match.team2P2.id] !== undefined && ( + = 0 ? "text-green-600" : "text-red-600"}> + ({eloChanges[match.team2P2.id] >= 0 ? "+" : ""}{eloChanges[match.team2P2.id]}) + + )} +
+