Build javascript calculator

Hi campers , I have done every user story and I don’t know why I still miss one here is my code

https://learn.freecodecamp.org/front-end-libraries/front-end-libraries-projects/build-a-javascript-calculator

I apperciate any help .
thanks in advance .

You should disallow this multiple decimal points problem:

Calc%20issue

I am trying to get red of this issue .

Did you try using RegEx?

yeah I am using them now in componentWillUpdate lifeCycle .

Check line 10 and line 67

I have updated the link I don’t know why it doesn’t work