-
-
Save Daltonic/dc536f400a907154f43ea3091f766956 to your computer and use it in GitHub Desktop.
Dapp Breeds
This file contains 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 React from 'react' | |
import Collection from '../components/Collection' | |
import Hero from '../components/Hero' | |
import Sponsors from '../components/Sponsors' | |
import Trending from '../components/Trending' | |
import { useGlobalState } from '../store' | |
const Home = () => { | |
const [minted] = useGlobalState('minted') | |
const [breeded] = useGlobalState('breeded') | |
return ( | |
<div> | |
<Hero /> | |
<Sponsors /> | |
<Trending nfts={minted} /> | |
{breeded.length > 0 && <Collection collection={breeded} />} | |
</div> | |
) | |
} | |
export default Home |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment