mirror of
https://github.com/franjsco/tomadoro
synced 2025-06-06 00:29:13 +02:00
edit start button behavior
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user