Skip to content

Commit

Permalink
Remove unnecessary checks
Browse files Browse the repository at this point in the history
  • Loading branch information
petrvecera committed Mar 18, 2023
1 parent f43d95e commit 1406214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/matches-table/render-players.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const RenderPlayers = ({ playerReports, profileID }: RenderPlayersProps) => {
return (
<div key={playerInfo.profile_id}>
<Group spacing={"xs"}>
<FactionIcon name={raceIDs[playerInfo?.race_id as raceID]} width={20} />
<FactionIcon name={raceIDs[playerInfo.race_id as raceID]} width={20} />
<> {ratingElement}</>
<Anchor
key={playerInfo.profile_id}
Expand Down

0 comments on commit 1406214

Please sign in to comment.