diff --git a/webapp/src/components/game/GameConfiguration.js b/webapp/src/components/game/GameConfiguration.js index 767fb995..c56a595c 100644 --- a/webapp/src/components/game/GameConfiguration.js +++ b/webapp/src/components/game/GameConfiguration.js @@ -17,8 +17,9 @@ const previousBackgroundColor = '#1a1a1a' const GameConfiguration = () => { let tematicas - if(useLocation().state !== null) - tematicas = useLocation().state.topics; + let state = useLocation().state + if( state !== null) + tematicas = state.topics; else tematicas = [] console.log(tematicas)