title: Cannot read property object reactJS
body: <p>It's 5 hours I do not understand what the problem is
  Someone who helps me,
  I just have to extract the data</p>
  
  <pre><code>import React,{Component} from 'react';
  import axios from 'axios';
  import CoinsConvert from '../data/data'
  import '../style/bootstrap.min.css';
  
  
  class BoxInfo extends Component{
  
    constructor(){
      super();
      this.state={
        dataC:{}
      }
  
    }
    componentWillMount(){
          let code=CoinsConvert[this.props.match.params.coin_url];
          axios.get(`https://www.cryptocompare.com/api/data/coinsnapshotfullbyid/?id=${code}`)
          .then(da=&gt;this.setState({dataC:da.data})).catch(()=&gt;{console.error()})
    }
   render(){
     let dataC=this.state.dataC;
      return(
        &lt;div className="container"&gt;
          &lt;div className="panel panel-default text-center"  &gt;
          &lt;div className="panel-heading" &gt;{ dataC.Data.General.H1Text}&lt;/div&gt;
          &lt;div className="panel-body "&gt;&lt;img className="img-rounded"  width="500" height="500" src={""} /&gt;&lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      );
     }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/1b7hS.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1b7hS.jpg" alt="enter image description here"></a></p>
  
  <p>example json: <a href="https://www.cryptocompare.com/api/data/coinsnapshotfullbyid/?id=5031" rel="nofollow noreferrer">cryptocompare</a></p>