fix job cards

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-03-18 22:59:21 -04:00
parent 0c32419a52
commit 8493c1bb63
6 changed files with 68 additions and 143 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ export default function MainSection({ className, marketPlaceProduct }) {
<DataIteration
datas={products}
startLength="0"
endLength={products.length}
endLength={products?.length}
>
{({ datas }) => (
<ActiveJobsCard key={datas.id} datas={datas} />
+3 -1
View File
@@ -5,12 +5,14 @@ import Layout from "../Partials/Layout";
import MainSection from "./MainSection";
export default function MarketPlace(props) {
const JobList = props.activeJobList?.result_list;
console.log("activeJobList->",props.activeJobList.result_list);
const marketProduct = products.data;
return (
<>
<Layout>
<CreateNft />
<MainSection marketPlaceProduct={marketProduct} className="mb-10" />
<MainSection marketPlaceProduct={JobList} className="mb-10" />
</Layout>
</>
);