Here is my situation:
<button onClick={this.changeTimerStatus.bind(this)}>makeTimerCliccable</button> <button onClick={this.state.hasBeenFinished ? this.confirmHandler : (this.state.hasDest == false || this.state.hasDest == undefined ? this.takeTaskHandler : this.finishHandler)}> I have two buttons, but I'd like to have just the second one. Also, I'd like to execute this.changeTimerStatus.bind(this) (the function on the first button) together with this.confirmHandler or this.takeTaskHandler when they're running. How can I solve this?