React Calculator Story #14

Hi, I have user story #14 left to pass for the JS Calculator which is:

User Story #14: Pressing an operator immediately following = should start a new calculation that operates on the result of the previous evaluation.

I thought it would be as simple as updating the state in my handleEquals() method to change the input to the result once I pressed the equals button but this doesn’t seem to be working and the test seems to be giving me a script error. I suspect it may be something to do with the way React updates state asynchronously. Please can you help solve this task. TIA.

A post was merged into an existing topic: JS Calculator Story #13

Please do not create duplicate topics for the same challenge/project question(s). This duplicate topic has been unlisted and I have merged it with your other topic.

Thank you.