Update projects/website/src/components/player/player-scores.tsx
All checks were successful
Deploy Website / docker (ubuntu-latest) (push) Successful in 2m7s

This commit is contained in:
Lee 2024-10-20 22:10:02 +00:00
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"
>
{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} />
</motion.div>
))}