type Props = { gameId: number; problem: string | null; scoreA: number | null; codeA: string | null; scoreB: number | null; codeB: string | null; }; export default ({ problem, scoreA, codeA, scoreB, codeB }: Props) => { return ( <>
{problem}
{scoreA}
                {codeA}
              
{scoreB}
                {codeB}
              
); };