Build error - can't see anything wrong

Developer tools is showing it’s having trouble loading something, not sure what’s going on…

class TypesOfFood extends React.Component {

  constructor(props) {



  render() {

    return (


        <h1>Types of Food:</h1>

        {/* Change code below this line */}

<Fruits />

<Vegetables />

        {/* Change code above this line */}





// Change code below this line

ReactDOM.render(<TypesOfFood />, document.getElementById=('challenge-node'))

What does the error say?

Build error, open your browser console to learn more.

act(…) is not supported in production builds of React, and might not behave as expected.
act @ react-dom-test-utils.production.min.js:28
frame-runner.js:100 Object
_callee$ @ frame-runner.js:100

I’m pretty sure that is a warning related to the freeCodeCamp tests. I suspect that there are other errors with your actual code. What is your complete code?

Hello there,

Keep in mind, nay browser extensions with access to are able to conflict with existing JavaScript, and cause unexpected behaviour.

Otherwise, as Ariel said, would you mind sharing more potentially relevant information?

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