import {useState} from 'react'; import {Gamepad2} from 'lucide-react'; import {cn} from '@/lib/utils'; import {coverUrl} from '@/utils/games.js'; /** * Steam store header (460x215). Falls back to a neutral tile when the app has no header image. */ export default function GameCover({appid, className}) { const [failed, setFailed] = useState(false); return (
{failed ? (
) : ( setFailed(true)} /> )}
); }