From 44bc812ad863e80cb16588ee26082b4208c283ae Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 23 Oct 2024 20:26:48 +0100 Subject: [PATCH] fix --- projects/website/src/components/score/score.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/website/src/components/score/score.tsx b/projects/website/src/components/score/score.tsx index d3b6f7f..b9d8302 100644 --- a/projects/website/src/components/score/score.tsx +++ b/projects/website/src/components/score/score.tsx @@ -68,7 +68,7 @@ export default function Score({ leaderboard, beatSaverMap, score, settings }: Pr const [leaderboardDropdownData, setLeaderboardDropdownData] = useState(); const { data, isError, isLoading } = useQuery({ - queryKey: ["leaderboardDropdownData", leaderboard.id, score.id, isLeaderboardExpanded], + queryKey: ["leaderboardDropdownData", leaderboard.id, score.scoreId, isLeaderboardExpanded], queryFn: async () => { const scores = await fetchLeaderboardScores( "scoresaber",