bk commit

This commit is contained in:
2021-10-14 02:14:04 -03:00
parent f56746bf68
commit fac1305cfc
4 changed files with 53 additions and 18 deletions

View File

@@ -19,6 +19,7 @@ const CheckVictory = (setIsVictory) => {
if (allChildrenHaveText) {
setIsVictory(true)
}
}

View File

@@ -1,4 +1,4 @@
import CheckVictory from "./CheckVictory.jsx";
import CheckVictory from "./CheckVictory";
const Register_Input = (actualWord, hangmanFrame, setHangmanFrame, setIsVictory, setIsDefeat) => {
@@ -46,7 +46,6 @@ const Register_Input = (actualWord, hangmanFrame, setHangmanFrame, setIsVictory,
});
CheckVictory(setIsVictory)
} else {
@@ -61,9 +60,7 @@ const Register_Input = (actualWord, hangmanFrame, setHangmanFrame, setIsVictory,
removeRegisterInput()
}
}
}
}
const removeRegisterInput = () => {