diff --git a/frontend/app/marketplace/page.tsx b/frontend/app/marketplace/page.tsx index 7f84c75..e982472 100644 --- a/frontend/app/marketplace/page.tsx +++ b/frontend/app/marketplace/page.tsx @@ -1,6 +1,6 @@ "use client"; -import { ProductList } from "../products/page"; +import ProductList from "../products/page"; export default function Marketplace() { return ; diff --git a/frontend/app/products/page.tsx b/frontend/app/products/page.tsx index 1590f0b..c6908f6 100644 --- a/frontend/app/products/page.tsx +++ b/frontend/app/products/page.tsx @@ -18,7 +18,7 @@ import { } from "@/app/components/ui/card"; import { products } from "@/constants/testDataProduct"; -export const ProductList = () => { +export default function ProductList() { const [showModal, setShowModal] = useState(false); // const filteredProducts = products.filter( // (product) => @@ -89,4 +89,4 @@ export const ProductList = () => { setShowModal(false)} /> ); -}; +}