diff --git a/projects/website/src/components/ranking/ranking-data.tsx b/projects/website/src/components/ranking/ranking-data.tsx index fdb448b..a13a6ad 100644 --- a/projects/website/src/components/ranking/ranking-data.tsx +++ b/projects/website/src/components/ranking/ranking-data.tsx @@ -23,7 +23,7 @@ export default function RankingData({ initialPage, country, initialPageData }: R const [rankingData, setRankingData] = useState(initialPageData); const { data, isLoading, isError } = useQuery({ - queryKey: ["rankingData", currentPage], + queryKey: ["rankingData", currentPage, country], queryFn: async () => { const players = country == undefined