chore: fix lint and type errors from feature bundle implementation
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user