This commit is contained in:
parent
6d1c911c9f
commit
ba8579d60c
@ -23,7 +23,7 @@ export default function RankingData({ initialPage, country, initialPageData }: R
|
|||||||
const [rankingData, setRankingData] = useState<ScoreSaberPlayersPageToken | undefined>(initialPageData);
|
const [rankingData, setRankingData] = useState<ScoreSaberPlayersPageToken | undefined>(initialPageData);
|
||||||
|
|
||||||
const { data, isLoading, isError } = useQuery({
|
const { data, isLoading, isError } = useQuery({
|
||||||
queryKey: ["rankingData", currentPage],
|
queryKey: ["rankingData", currentPage, country],
|
||||||
queryFn: async () => {
|
queryFn: async () => {
|
||||||
const players =
|
const players =
|
||||||
country == undefined
|
country == undefined
|
||||||
|
Reference in New Issue
Block a user