fix clicking global rank taking you to the wrong page and update url when clicking a player on the ranking page
All checks were successful
Deploy Website / deploy (push) Successful in 3m30s
All checks were successful
Deploy Website / deploy (push) Successful in 3m30s
This commit is contained in:
parent
544e850540
commit
0e4feb4181
@ -35,7 +35,7 @@ export function PlayerRanking({ player, isCountry }: PlayerRankingProps) {
|
||||
/>
|
||||
</Avatar>
|
||||
<CountryFlag code={player.country} size={14} />
|
||||
<Link className="transform-gpu transition-all hover:text-blue-500" href={`/player/${player.id}/top/1`}>
|
||||
<Link className="transform-gpu transition-all hover:text-blue-500" href={`/player/${player.id}`}>
|
||||
<p
|
||||
className={
|
||||
player.id == settings?.playerId ? "transform-gpu text-pp transition-all hover:brightness-75" : ""
|
||||
|
Reference in New Issue
Block a user