Fix undefined game id while uploading files to new games

This commit is contained in:
Jeremie Pardou-Piquemal 2020-10-30 14:41:37 +01:00 committed by Jérémie Pardou-Piquemal
parent 0566bac14b
commit 1a527bc819

View file

@ -90,7 +90,7 @@ export const GameView = ({ edit }) => {
return ( return (
<GameProvider game={game} gameId={realGameId}> <GameProvider game={game} gameId={realGameId}>
<BoardView namespace={gameId} edit={edit} /> <BoardView namespace={realGameId} edit={edit} />
</GameProvider> </GameProvider>
); );
}; };