mirror of https://github.com/franjsco/tomadoro
edit start button behavior
This commit is contained in:
parent
016dcdc4ec
commit
c962536e89
|
@ -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