Update projects/website/src/components/player/player-scores.tsx
All checks were successful
Deploy Website / docker (ubuntu-latest) (push) Successful in 2m7s
All checks were successful
Deploy Website / docker (ubuntu-latest) (push) Successful in 2m7s
This commit is contained in:
parent
d0bcd29796
commit
a15893ea56
@ -221,7 +221,7 @@ export default function PlayerScores({ initialScoreData, initialSearch, player,
|
|||||||
className="grid min-w-full grid-cols-1 divide-y divide-border"
|
className="grid min-w-full grid-cols-1 divide-y divide-border"
|
||||||
>
|
>
|
||||||
{scores.scores.map((score, index) => (
|
{scores.scores.map((score, index) => (
|
||||||
<motion.div key={score.score.id} variants={scoreAnimation}>
|
<motion.div key={index} variants={scoreAnimation}>
|
||||||
<Score score={score.score} leaderboard={score.leaderboard} beatSaverMap={score.beatSaver} />
|
<Score score={score.score} leaderboard={score.leaderboard} beatSaverMap={score.beatSaver} />
|
||||||
</motion.div>
|
</motion.div>
|
||||||
))}
|
))}
|
||||||
|
Reference in New Issue
Block a user