Skip to content

Commit

Permalink
Merge pull request #2 from jh3y/fix/cant-input-0
Browse files Browse the repository at this point in the history
Resolve #1 🎉
  • Loading branch information
jh3y committed Jun 9, 2018
2 parents 95a5b5a + be5779b commit 8582f54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers/Game/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class Game extends Component {
const game = this.props.game
const score = e.target.value
let validScore = false
if (score <= 180 && score > 0 && score <= game[game.thrower].score)
if (score <= 180 && score > -1 && score <= game[game.thrower].score)
validScore = true
this.setState({
validScore,
Expand Down

0 comments on commit 8582f54

Please sign in to comment.