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"
|
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>
|
||||||
|
|
Loading…
Reference in New Issue