Javascript calculator not passing the tests

Tell us what’s happening:
Describe your issue in detail here.

I want to know why is not passing the tests.
This is my code:

Your code so far

Your browser information:

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

Challenge: Build a JavaScript Calculator

Link to the challenge:

Hi

The problem is that you’re using React 18.

If you use React 17 your code should pass.

There’s an open issue for problems with the FCC tests and React 18:

It´s working . Thank you.