fix
All checks were successful
Deploy Website / docker (ubuntu-latest) (push) Successful in 2m35s

This commit is contained in:
Lee 2024-10-23 20:26:48 +01:00
parent d1d12b4193
commit 44bc812ad8

@ -68,7 +68,7 @@ export default function Score({ leaderboard, beatSaverMap, score, settings }: Pr
const [leaderboardDropdownData, setLeaderboardDropdownData] = useState<LeaderboardDropdownData | undefined>(); const [leaderboardDropdownData, setLeaderboardDropdownData] = useState<LeaderboardDropdownData | undefined>();
const { data, isError, isLoading } = useQuery<LeaderboardDropdownData>({ const { data, isError, isLoading } = useQuery<LeaderboardDropdownData>({
queryKey: ["leaderboardDropdownData", leaderboard.id, score.id, isLeaderboardExpanded], queryKey: ["leaderboardDropdownData", leaderboard.id, score.scoreId, isLeaderboardExpanded],
queryFn: async () => { queryFn: async () => {
const scores = await fetchLeaderboardScores<ScoreSaberScore, ScoreSaberLeaderboard>( const scores = await fetchLeaderboardScores<ScoreSaberScore, ScoreSaberLeaderboard>(
"scoresaber", "scoresaber",