diff --git a/6_PROJETO_SECRET_WORD/secretword/src/App.js b/6_PROJETO_SECRET_WORD/secretword/src/App.js index 2faa2ee..598185a 100644 --- a/6_PROJETO_SECRET_WORD/secretword/src/App.js +++ b/6_PROJETO_SECRET_WORD/secretword/src/App.js @@ -66,6 +66,7 @@ function App() { setPickedCategory(category); setPickedWord(word); setLetters(wordLetters); + setGuesses(3); // sem esta instrução, o jogo estava reiniciando com as tentaivas "queimadas" anteriormente. setGameStage(stages[1].name); }, [pickWordAndCategory]);