Last active
          April 19, 2022 15:38 
        
      - 
      
- 
        Save stevedylandev/f9a8074252fd9541a3f5ed66003ffbf8 to your computer and use it in GitHub Desktop. 
    Aerial Component
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import { useEffect } from "react"; | |
| import axios from "axios"; | |
| const Aerial = () => { | |
| const getEmissionsData = async () => { | |
| try{ | |
| const response = await axios.get("https://aerial.is/_nft/0x2acab3dea77832c09420663b0e1cb386031ba17b") | |
| console.log(response.data) | |
| } catch (error) { | |
| console.log(error) | |
| } | |
| } | |
| useEffect(()=> { | |
| getEmissionsData() | |
| }, []) | |
| return ( | |
| <div className="aerial-container"> | |
| <h1>Aerial</h1> | |
| </div> | |
| ) | |
| } | |
| export default Aerial; | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment