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)
}