From f6cc288cd67308330a83094bc2f0b64132ad81e8 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Mon, 1 May 2023 12:25:03 -0600 Subject: Vista de proveedores --- src/components/product_listing.tsx | 32 ++++++++------------------------ 1 file changed, 8 insertions(+), 24 deletions(-) (limited to 'src/components/product_listing.tsx') diff --git a/src/components/product_listing.tsx b/src/components/product_listing.tsx index d9c5488..1da96c3 100644 --- a/src/components/product_listing.tsx +++ b/src/components/product_listing.tsx @@ -1,13 +1,13 @@ -import { Collapse, Ripple, initTE} from "tw-elements"; import { Link } from "react-router-dom"; +import { Dropdown } from "flowbite-react"; import "./stylesheets/shared.css" -import "./stylesheets/product_listing.css" +import "./stylesheets/product_listing.css"; export default function ProductListing({ product }) { - const collapseMenu = `collapse${product.id}` - const collapseTarget = `#${collapseMenu}` const categories = product.attributes.categories.map(category => -
  • {category}
  • + + {category} + ); return ( @@ -44,25 +44,9 @@ export default function ProductListing({ product }) {
    - -
    -
    -
      - {categories} -
    -
    -
    + + {categories} +
    -- cgit v1.2.3