diff --git a/src/app/matches/[id]/page.tsx b/src/app/matches/[id]/page.tsx index da3596b..8117d53 100644 --- a/src/app/matches/[id]/page.tsx +++ b/src/app/matches/[id]/page.tsx @@ -88,8 +88,8 @@ export default async function MatchDetailPage({ params }: PageProps) {
{match.team1P1.name} @@ -103,25 +103,12 @@ export default async function MatchDetailPage({ params }: PageProps) { )}
- {match.team2P1.name} -
-- Elo: {match.team2P1.currentElo} - {eloChanges[match.team2P1.id] !== undefined && ( - = 0 ? "text-green-600 ml-1" : "text-red-600 ml-1"}> - ({eloChanges[match.team2P1.id] >= 0 ? "+" : ""}{eloChanges[match.team2P1.id]}) - - )} -
-{match.team2P2.name} @@ -137,7 +124,7 @@ export default async function MatchDetailPage({ params }: PageProps) {
@@ -154,17 +141,17 @@ export default async function MatchDetailPage({ params }: PageProps) {
- {match.team2P2.name} + {match.team2P1.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]}) + Elo: {match.team2P1.currentElo} + {eloChanges[match.team2P1.id] !== undefined && ( + = 0 ? "text-green-600" : "text-red-600"}> + ({eloChanges[match.team2P1.id] >= 0 ? "+" : ""}{eloChanges[match.team2P1.id]}) )}