title: Data not appearing after axios fetch (ReactJs)
body: <p>Good day guys, i'm having a little trouble trying to req data from axios and showing it up at ReactJS, i'm able to console.log the data, but when i try to render it at the page, it simply dot not appear, could someone please lend me a hand? i will let the code and a print of the console.log, it's probably a newbie mistake since i'm new to ReactJs and JSON, but i would be very grateful if someone could explain!</p>
  <p><a href="https://i.stack.imgur.com/YOroz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YOroz.png" alt="Console Log and data not showing" /></a></p>
  <p>CODE:</p>
  <pre><code>import Image from 'next/image'
  import { useRouter } from 'next/router'
  import React, { Component, useState } from 'react'
  import ReactDOM from 'react-dom'
  import { useHistory ,useLocation } from 'react-router-dom';
  import axios from 'axios'
  
  
   
  
  const options = {
      method: 'GET',
      headers: {
        'Authorization': 'OAuth oauth_consumer_key=&quot;key&quot;,                    oauth_signature_method=&quot;PLAINTEXT&quot;,   oauth_signature=&quot;2CC8D92526EE859C90AABB1F09F3B719&amp;&quot;'}
    };
  
  class Page extends React.Component {
  
      state= {
          
          motorData: [],
          opa: []
          
      };
     
      componentDidMount() {
          const make = &quot;fiat&quot;
           axios.get(`https://api.trademe.co.nz/v1/Search/Motors/Used.json?make=${make}`, options)
            .then(res =&gt; {
              const cars = res.data;            
              console.log(cars)
              this.state.motorData.push(cars.List[0].StartPrice)
              console.log(this.state.motorData)           
              
             
              
            })
  
            
        }
        
        render() {
          return &lt;div&gt;
              
              Data:{this.state.motorData}
              
              &lt;/div&gt;
        }
      
    }
    
    export default Page ```
  
  Thank you guys so much in advance!
  </code></pre>