The functionality of my Calculator app not working properly

the functionality of my calculator app is not working…the functionality of my equal sign…
i need help please… below is the link to my code pen

As far as I can tell, this.state.operator is always null so you always hit the default case in the switch making result null as well.

BTW, you have misspelled divide in the object.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.