diff --git a/src/app/ranking/country/[country]/page.tsx b/src/app/ranking/country/[country]/page.tsx
index 48a7045..5f4bf88 100644
--- a/src/app/ranking/country/[country]/page.tsx
+++ b/src/app/ranking/country/[country]/page.tsx
@@ -10,6 +10,7 @@ import { ScoresaberPlayer } from "@/schemas/scoresaber/player";
import { fetchTopPlayers } from "@/utils/scoresaber/api";
import { useRouter, useSearchParams } from "next/navigation";
import { useCallback, useEffect, useState } from "react";
+import ReactCountryFlag from "react-country-flag";
type PageInfo = {
loading: boolean;
@@ -81,7 +82,7 @@ export default function RankingCountry({
if (!pageInfo.loading || error) return;
updatePage(pageInfo.page);
- }, [error, params.country, updatePage, pageInfo.page, pageInfo.loading]);
+ }, [error, country, updatePage, pageInfo.page, pageInfo.loading]);
if (pageInfo.loading || error) {
return (
@@ -113,25 +114,36 @@ export default function RankingCountry({
) : (
-
-
-
- Rank |
- Profile |
- Performance Points |
- Total Plays |
- Total Ranked Plays |
- Avg Ranked Accuracy |
-
-
-
- {players.map((player) => (
-
-
+
+
+
+
You are viewing scores from {country}
+
+
+
+
+
+ Rank |
+ Profile |
+ Performance Points |
+ Total Plays |
+ Total Ranked Plays |
+ Avg Ranked Accuracy |
- ))}
-
-
+
+
+ {players.map((player) => (
+
+
+
+ ))}
+
+
+
)}
{/* Pagination */}
diff --git a/src/app/ranking/global/page.tsx b/src/app/ranking/global/page.tsx
index 56a11f0..c161729 100644
--- a/src/app/ranking/global/page.tsx
+++ b/src/app/ranking/global/page.tsx
@@ -107,25 +107,30 @@ export default function RankingGlobal() {
) : (
-
-
-
- Rank |
- Profile |
- Performance Points |
- Total Plays |
- Total Ranked Plays |
- Avg Ranked Accuracy |
-
-
-
- {players.map((player) => (
-
-
+
+
+
You are viewing Global scores
+
+
+
+
+ Rank |
+ Profile |
+ Performance Points |
+ Total Plays |
+ Total Ranked Plays |
+ Avg Ranked Accuracy |
- ))}
-
-
+
+
+ {players.map((player) => (
+
+
+
+ ))}
+
+
+
)}
{/* Pagination */}