I want to set the state of my react component to an array of objects. Here is my current code:
componentDidMount() { axios.get(\'http://localhost:4000