In the build version of my reactjs application, I get the error of
react_devtools_backend.js:2560 TypeError: Assignment to constant variable.
at y._init (17.19deb280.chunk.js:1)
at new y (17.19deb280.chunk.js:1)
at Function.from (17.19deb280.chunk.js:1)
at points (17.19deb280.chunk.js:1)
at 17.19deb280.chunk.js:1
at Object.useMemo (main.19deb280.js:1)
at t.useMemo (main.19deb280.js:1)
at R (17.19deb280.chunk.js:1)
at U (17.19deb280.chunk.js:1)
at Ko (main.19deb280.js:1)
However, everything works fine in the development mode and I get no error. This problem only happens in the production mode and I cannot figure out what is causing this issue. I appreciate any help.