import { useState } from "react"; interface GameImageProps { game: string; } export function GameImage({ game }: GameImageProps) { const [error, setError] = useState(false); if (error) { return (