This commit is contained in:
parent
3a4bc7a83a
commit
162424b2d0
@ -158,6 +158,7 @@ export default function LeaderboardScores({
|
|||||||
leaderboard.difficulties.map(({ difficulty, leaderboardId }) => {
|
leaderboard.difficulties.map(({ difficulty, leaderboardId }) => {
|
||||||
return (
|
return (
|
||||||
<Button
|
<Button
|
||||||
|
key={difficulty}
|
||||||
variant={leaderboardId === selectedLeaderboardId ? "default" : "outline"}
|
variant={leaderboardId === selectedLeaderboardId ? "default" : "outline"}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
handleLeaderboardChange(leaderboardId);
|
handleLeaderboardChange(leaderboardId);
|
||||||
|
Reference in New Issue
Block a user