diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-07-05 23:24:36 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-07-05 23:24:36 -0700 |
| commit | 9416c97b24d46f780c57627551795e40619ecc26 (patch) | |
| tree | 6cc8867e3ba03033cbd761824903dd91d442bfcb /frontend/src/pages | |
| parent | d8ac3c207360d04532635ffaee72ed74397dc3c9 (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.tsx | 3 |
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; |
