Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
zefanjajobse committed Nov 19, 2023
1 parent bfb280b commit 2555eec
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/components/routes/Servers/Detailed/Players.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,6 @@ function Players(props: {
{teamInfo.players.map(
(key: serverPlayer, index: number) => {
const seederPlayer = seederPlayers.get(key.player_id);
const statsGame =
props.game === "bf1marne" ? "bf1" : props.game;
return (
<Column key={index}>
<Row>
Expand Down Expand Up @@ -340,9 +338,10 @@ function Players(props: {
key?.player_id
? key?.player_id
: encodeURIComponent(key.name)
}?game=${statsGame}&name=${encodeURIComponent(
key.name,
)}`}
}?game=${props.game.replace(
"marne",
"",
)}&name=${encodeURIComponent(key.name)}`}
target="_blank"
rel="noreferrer"
>
Expand Down

0 comments on commit 2555eec

Please sign in to comment.