Value won't change until after the second button press
问题 I have a button that changes increases the value of an object. <Button bsStyle="info" bsSize="lg" onClick={this.addKoala}> addKoala: addKoala: function() { this.setState({ towelCount: this.state.towelCount - 2, koalaCount: this.state.koalaCount + 2 }); this.handleClick("Koala"); }, I have two values that are in the same ProgressBar, so when you add to one, you need to take from another. That's why I'm taking 2 away from tokel. it then goes here to be pushed to a firebase backend: handleClick: