Skip to content

Instantly share code, notes, and snippets.

@covelitein
Created March 17, 2023 20:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save covelitein/328d3889b1f5eed95afd07f9318c2478 to your computer and use it in GitHub Desktop.
Save covelitein/328d3889b1f5eed95afd07f9318c2478 to your computer and use it in GitHub Desktop.
dappBnb
import CardCollection from "../components/CardCollection"
import Category from "../components/Category"
import { useGlobalState } from "../store"
const Home = () => {
const [appartments] = useGlobalState("appartments")
return (
<div>
<Category />
<CardCollection appartments={appartments} />
</div>
)
}
export default Home
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment