Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
k2xl committed May 31, 2024
1 parent cd2ff12 commit 5008c37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/[subdomain]/match/[matchId]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ export default function Match() {
}
</h1>
{/* if you are in the game and the game is about to start then say Your Record */}
{!matchInProgress && !loadingHeadToHead &&
{!matchInProgress && !loadingHeadToHead && match.players.length === 2 &&
<h2 className='text-xl font-bold text-center p-3'>
{match.players[0].name} record against {match.players[1]?.name} is {headToHead?.totalWins} - {headToHead?.totalLosses} - {headToHead?.totalTies}
</h2>
Expand Down

0 comments on commit 5008c37

Please sign in to comment.