diff --git a/src/components/player/player-scores.tsx b/src/components/player/player-scores.tsx index 3d03eac..2612725 100644 --- a/src/components/player/player-scores.tsx +++ b/src/components/player/player-scores.tsx @@ -139,7 +139,7 @@ export default function PlayerScores({ if (scores) { handleScoreLoad(); } - }, [scores, isError]); + }, [scores, isError, handleScoreLoad]); useEffect(() => { const newUrl = `/player/${player.id}/${pageState.sort}/${pageState.page}`; diff --git a/src/components/player/score/score-stats.tsx b/src/components/player/score/score-stats.tsx index 580dd7e..24c5f7a 100644 --- a/src/components/player/score/score-stats.tsx +++ b/src/components/player/score/score-stats.tsx @@ -90,7 +90,7 @@ export default function ScoreStats({ score, leaderboard }: Props) {