edit start button behavior

This commit is contained in:
Francesco Esposito 2019-03-21 14:56:24 +01:00
parent e4b1847963
commit b264fb010b
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class ButtonBox extends Component {
size="lg" size="lg"
color="success" color="success"
onClick={this.props.startTimer} onClick={this.props.startTimer}
disabled={this.props.isStarted} disabled={this.props.isStarted || this.props.seconds===0}
> >
START START
</Button> </Button>