import type { PlayerProfile } from "../../types/PlayerProfile"; import PlayerNameAndIcon from "../PlayerNameAndIcon"; type Props = { gameDisplayName: string; playerProfileA: PlayerProfile | null; playerProfileB: PlayerProfile | null; }; export default function GolfWatchAppWaiting1v1({ gameDisplayName, playerProfileA, playerProfileB, }: Props) { return (
{gameDisplayName}
{playerProfileA ? ( ) : (
)}
vs.
{playerProfileB ? ( ) : (
)}
); }