mirror of https://github.com/franjsco/tomadoro
edit start button behavior
This commit is contained in:
parent
e4b1847963
commit
b264fb010b
|
@ -19,7 +19,7 @@ class ButtonBox extends Component {
|
|||
size="lg"
|
||||
color="success"
|
||||
onClick={this.props.startTimer}
|
||||
disabled={this.props.isStarted}
|
||||
disabled={this.props.isStarted || this.props.seconds===0}
|
||||
>
|
||||
START
|
||||
</Button>
|
||||
|
|
Loading…
Reference in New Issue