Skip to content

Commit

Permalink
Remove unnecessary ‘else’
Browse files Browse the repository at this point in the history
  • Loading branch information
javepaid authored Sep 24, 2024
1 parent e419e11 commit 034f4eb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ const returnColor = (word, wordSet) => {
)
}
return result
} else {
return false
}
}
return false
}

module.exports = { checkIfWord, returnColor }

0 comments on commit 034f4eb

Please sign in to comment.