This commit is contained in:
parent
e2515de76f
commit
3ef737770d
@ -10,7 +10,7 @@ type RankingGlobalProps = {
|
|||||||
|
|
||||||
// Get data from API (server-sided)
|
// Get data from API (server-sided)
|
||||||
async function getData(page: number, country: string) {
|
async function getData(page: number, country: string) {
|
||||||
const pageData = await ScoreSaberAPI.fetchTopPlayers(page);
|
const pageData = await ScoreSaberAPI.fetchTopPlayers(page, country);
|
||||||
if (!pageData) {
|
if (!pageData) {
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user