fix ranking page
All checks were successful
Deploy Website / deploy (push) Successful in 3m55s

This commit is contained in:
Lee 2024-10-12 22:56:29 +01:00
parent 6d1c911c9f
commit ba8579d60c

View File

@ -23,7 +23,7 @@ export default function RankingData({ initialPage, country, initialPageData }: R
const [rankingData, setRankingData] = useState<ScoreSaberPlayersPageToken | undefined>(initialPageData);
const { data, isLoading, isError } = useQuery({
queryKey: ["rankingData", currentPage],
queryKey: ["rankingData", currentPage, country],
queryFn: async () => {
const players =
country == undefined