mirror of
https://github.com/franjsco/tomadoro
synced 2025-02-07 15:08:40 +01:00
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…
x
Reference in New Issue
Block a user