"use client" import { GitBranch } from "lucide-react" import { HardwareStep } from "./hardware-step" import { AntiCheatStep, type AntiCheatData } from "./anti-cheat-step" export interface GameVersionInfo { id: string versionString: string | null buildId: string | null isLatest: boolean } interface SetupStepProps { gameId: string gameVersions: GameVersionInfo[] hardwareSlug: string onHardwareChange: (slug: string) => void hardwareName: string selectedVersionId: string onVersionChange: (versionId: string) => void newVersionString: string onNewVersionStringChange: (value: string) => void isCreatingVersion: boolean antiCheat: AntiCheatData onAntiCheatChange: (data: AntiCheatData) => void platformSupport: { hardwareSlug: string antiCheatRelevant: boolean antiCheatName: string | null antiCheatStatus: "none" | "supported" | "unsupported" | "unknown" }[] } export function SetupStep({ // eslint-disable-next-line @typescript-eslint/no-unused-vars gameId: _gameId, gameVersions, hardwareSlug, onHardwareChange, // eslint-disable-next-line @typescript-eslint/no-unused-vars hardwareName: _hardwareName, selectedVersionId, onVersionChange, newVersionString, onNewVersionStringChange, isCreatingVersion, antiCheat, onAntiCheatChange, platformSupport, }: SetupStepProps) { const isNewVersion = selectedVersionId === "__new__" return (
Which version of the game did you test? This helps others know if benchmarks match their version.
Enter the game version you tested. This will create a new version entry.