diff --git a/app/page.tsx b/app/page.tsx index 3f44d0b..407aa60 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,3 +1,50 @@ + +// import { TbCoinRupee } from 'react-icons/tb'; +// import Container from './components/Container'; +// import EmptyState from './components/EmptyState'; +// import getListings, { IListingsParams } from './actions/getListings'; +// import ListingCard from './components/listings/ListingCard'; +// import getCurrentUser from './actions/getCurrentUser'; + +// interface HomeProps { +// searchParams: IListingsParams +// } + + +// const Home = async ({searchParams}: HomeProps)=> { +// const listings = await getListings(searchParams) ; +// const currentUser = await getCurrentUser(); + + +// if(listings.length === 0) { +// return ( +// +// ) +// } + + + +// return ( + +// +// +// {listings.map((listing) => ( +// +// ))} +// +// + +// ) +// } + +// export default Home; + + + import { TbCoinRupee } from 'react-icons/tb'; import Container from './components/Container'; import EmptyState from './components/EmptyState';