fix: resolve build and lint issues for game page display

This commit is contained in:
2026-04-26 15:59:31 +08:00
parent e7e16d4772
commit b2ce6f966b
4 changed files with 22 additions and 14 deletions
+3 -3
View File
@@ -147,8 +147,8 @@ export const searchUnifiedRoutes = new Elysia({ prefix: "/search" }).get(
}
// ── 2b. Raw Performer + best FPS ────────────────────────────────
let rawPerformerMap = new Map<string, boolean>()
let bestFpsMap = new Map<string, number>()
const rawPerformerMap = new Map<string, boolean>()
const bestFpsMap = new Map<string, number>()
if (localGameIds.length > 0) {
const perfStats = await db
@@ -181,7 +181,7 @@ export const searchUnifiedRoutes = new Elysia({ prefix: "/search" }).get(
}
// ── 2c. Latest version ──────────────────────────────────────────
let latestVersionMap = new Map<string, string>()
const latestVersionMap = new Map<string, string>()
if (localGameIds.length > 0) {
const versionRows = await db