don't show stat change if player is inactive or banned
All checks were successful
Deploy Website / deploy (push) Successful in 4m52s
All checks were successful
Deploy Website / deploy (push) Successful in 4m52s
This commit is contained in:
parent
b8553c3138
commit
82b0a0ee71
@ -71,6 +71,11 @@ const renderChange = (player: ScoreSaberPlayer, type: "rank" | "countryRank" | "
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Don't show change if the player is banned or inactive
|
||||||
|
if (player.banned || player.inactive) {
|
||||||
|
return children;
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Tooltip
|
<Tooltip
|
||||||
side="bottom"
|
side="bottom"
|
||||||
|
Reference in New Issue
Block a user