Calculator App - Doesn't set at the end the string to "" empty value

Tell us what’s happening:
I have written the calculator app, it works for all 15 out of 16 test cases, however the last problem I can’t solve is regarding the this.setState({}) method. I have the state in the form of
After I press ‘=’ sign I set the this.state.calculationFinished:true
And on the next input it first checks calculationFinished and if it is true in the line 49 (link to codepen provided below), it calls the below:
if(this.state.calculationFinished===true){
last=this.state.lastPushed;
this.setState({
operations:"", // this is the point where it doesn’t set operations to empty string
calculationFinished:false // at the same time calculationFinished however is successfully set to false
})
}

Your code so far
Link to CodePen:

Calculator CodePen

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36.

Challenge: Build a JavaScript Calculator

Link to the challenge: