chore: fix lint and type errors from feature bundle implementation

This commit is contained in:
2026-04-29 00:54:39 +08:00
parent 2101dfef08
commit fcfcce614a
5 changed files with 19 additions and 18 deletions
+2 -2
View File
@@ -64,8 +64,8 @@ export default function ComparePage() {
}
const data = await res.json()
setComparisonData(data.games || [])
} catch (err: any) {
setError(err.message || "Failed to load comparison")
} catch (err: unknown) {
setError(err instanceof Error ? err.message : "Failed to load comparison")
} finally {
setLoading(false)
}