aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/pages
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/pages')
-rw-r--r--frontend/src/pages/Score.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/pages/Score.tsx b/frontend/src/pages/Score.tsx
index e9feecd..a39ce25 100644
--- a/frontend/src/pages/Score.tsx
+++ b/frontend/src/pages/Score.tsx
@@ -11,6 +11,7 @@ type SortDirection = "asc" | "desc";
const Score = () => {
const { user, isLoading, logout } = useAuth();
const navigate = useNavigate();
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
const [scores, setScores] = useState<any[]>([]);
const [loading, setLoading] = useState(true);
const [currentPage, setCurrentPage] = useState(1);
@@ -31,7 +32,7 @@ const Score = () => {
alert("Network error during logout. Please try again.");
}
};
-
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
const flattenScoreData = (score: any) => {
const flat = { ...score, ...score.data };
delete flat.data;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage