no console.log
This commit is contained in:
@@ -11,7 +11,6 @@ const targets = common
|
||||
|
||||
function randomTarget(wordLength: number) {
|
||||
const eligible = targets.filter((word) => word.length === wordLength);
|
||||
console.log(eligible);
|
||||
return pick(eligible);
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@ function Game(props: GameProps) {
|
||||
const [hint, setHint] = useState<string>(`${props.wordLength} letters`);
|
||||
|
||||
const onKey = (key: string) => {
|
||||
console.log(key);
|
||||
if (gameState !== GameState.Playing) {
|
||||
if (key === "Enter") {
|
||||
props.restart();
|
||||
|
||||
Reference in New Issue
Block a user