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
@@ -98,8 +98,8 @@ export function NonSteamEditForm({ game, platformSupport, hardwareList, isOwner,
}
router.push(`/game/${game.id}`)
router.refresh()
} catch (err: any) {
setError(err.message || "Failed to update game")
} catch (err: unknown) {
setError(err instanceof Error ? err.message : "Failed to update game")
} finally {
setLoading(false)
}
@@ -1,6 +1,6 @@
"use client"
import { ImageIcon, Monitor, Info, FileText, Link, Calendar } from "lucide-react"
import { ImageIcon, Monitor, Info, FileText, Link } from "lucide-react"
import { BasicInfoData } from "./non-steam-basic-info-step"
import { PlatformSupportItem } from "./non-steam-platform-step"