Form title

The form title will either be New Game or Edit Game, depending on whether an existing game ID is passed as a prop to GameForm.

mern-vrgame/client/game/GameForm.js:

<Typography type="headline" component="h2">    {this.props.gameId? 'Edit': 'New'} Game</Typography>

Get Full-Stack React Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.