Skip to content

Commit

Permalink
Only showing team styles in partners
Browse files Browse the repository at this point in the history
  • Loading branch information
daithihearn committed Mar 2, 2023
1 parent e5e6a3f commit 271c2eb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/Game/PlayersAndCards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ const PlayersAndCards = () => {
<PlayerCard
key={`playercard_${player.id}`}
player={player}
className={`image-team${(index % 3) + 1}-filter`}
className={
sortedPlayers.length === 6
? `image-team${(index % 3) + 1}-filter`
: ""
}
/>
))}
</Row>
Expand Down

0 comments on commit 271c2eb

Please sign in to comment.