aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/pages
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-07-05 23:24:36 -0700
committerPinapelz <yukais@pinapelz.com>2025-07-05 23:24:36 -0700
commit9416c97b24d46f780c57627551795e40619ecc26 (patch)
tree6cc8867e3ba03033cbd761824903dd91d442bfcb /frontend/src/pages
parentd8ac3c207360d04532635ffaee72ed74397dc3c9 (diff)
fix eslint any warnings - needs to be any for dynamic score file
rendering
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