This commit is contained in:
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",
|
||||||
|
Reference in New Issue
Block a user