title: typeError _ref is undefined
body: <p>I jump into react with just the basic about javascript, I'm making a query in my server that handle mysql and the connection is fine but the return is where I have a problem,it suppose to return a JSON with the query but I found error typeError _ref is undefined here is the function where I connect to my API</p>
  
  <pre><code>callDB(){
      fetch('http://localhost:4000/lista')
      .then((response)=&gt;{
          response.json()
      })
      .then(({data})=&gt;{
          console.log(data);
      })
      .catch((err)=&gt;{console.log(err);});
  }
  </code></pre>
  
  <p>In the data part is where it doesn't work any ideas?thanks before anything</p>