fix: resolve SQL ambiguity in subquery, remove unused imports, fix lint errors

This commit is contained in:
2026-04-28 02:14:13 +08:00
parent 175a58b9d5
commit d375112c8e
4 changed files with 105 additions and 75 deletions
+2 -3
View File
@@ -8,7 +8,6 @@ import {
Gamepad2Icon,
SearchIcon,
TrendingUpIcon,
ChevronDownIcon,
XIcon,
Loader2Icon,
} from "lucide-react"
@@ -108,10 +107,10 @@ export function GamesPageClient({
// Full reload when filters/sort change
useEffect(() => {
let cancelled = false
setLoading(true)
setError(null)
async function fetchGames() {
setLoading(true)
setError(null)
try {
const url = buildUrl(0)
const res = await fetch(url)