diff --git a/src/index.js b/src/index.js index 60ace87..57dde1d 100644 --- a/src/index.js +++ b/src/index.js @@ -26,9 +26,8 @@ const returnColor = (word, wordSet) => { ) } return result - } else { - return false - } + } + return false } module.exports = { checkIfWord, returnColor }