import React from "react";
// import products from "../../data/marketplace_data.json";
//import CreateNft from "../Home/CreateNft";
import Layout from "../Partials/Layout";
import MainSection from "./MainSection";
import CommonHead from "../UserHeader/CommonHead";
import { useSelector } from "react-redux";

export default function MarketPlace({commonHeadData}) {
  let { jobLists } = useSelector((state) => state.jobLists);
  const marketData = jobLists?.result_list;

  // const marketProduct = products.data;
  return (
    <>
      <Layout>
        <CommonHead  commonHeadData={commonHeadData} />
        <MainSection marketPlaceProduct={marketData} className="mb-10" />
      </Layout>
    </>
  );
}
