Skip to content

Commit

Permalink
fix match history linking bug
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkIntaqt committed May 21, 2024
1 parent 47a2b6b commit 01fbf44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module/user/Match.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ export default class Match extends Component {
})


return <a className={css.player} href={`/${this.state.region}/${player.name}`} onClick={goTo} key={player.name}>
return <a className={css.player} href={`/${this.state.region}/${player.name.replace("#", "-")}`} onClick={goTo} key={player.name}>
<div className={css.champion}>
<img src={"https://lolcdn.darkintaqt.com/cdn/champion/" + player.champion[0] + "/tile"} alt={player.champion[1]} />
</div>
Expand Down

0 comments on commit 01fbf44

Please sign in to comment.