revert to client sided data fetching
All checks were successful
deploy / deploy (push) Successful in 47s

This commit is contained in:
Lee
2023-10-24 11:18:51 +01:00
parent fe0be93d3e
commit e77e07423a
15 changed files with 700 additions and 573 deletions

View File

@ -0,0 +1,14 @@
import GlobalRanking from "@/components/player/GlobalRanking";
import { getPageFromSearchQuery } from "@/utils/utils";
import { headers } from "next/headers";
type RankingCountryProps = {
params: { country: string };
};
export default function RankingCountry({ params }: RankingCountryProps) {
const page = getPageFromSearchQuery(headers());
const country = params.country;
return <GlobalRanking page={page} country={country} />;
}