diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2024-08-09 03:56:04 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2024-08-09 03:56:04 +0000 |
| commit | ea7e2cf8f768c3d3202c282182de6355b3ee32ee (patch) | |
| tree | 3153024ccaa24192b3adf94c44f179cc9b344f8e /src/lib | |
| parent | c9090a89b775a1e3c2f1e707021e6375eb9f92e3 (diff) | |
| parent | bbbd7ccaab3102558dc82cbd051947b0e579360c (diff) | |
Merged in Feature/template-switch (pull request #228)
Feature/template switch
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/product/components/Product/ProductDesktopVariant.jsx | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/src/lib/product/components/Product/ProductDesktopVariant.jsx b/src/lib/product/components/Product/ProductDesktopVariant.jsx index 882673f4..b8ec0580 100644 --- a/src/lib/product/components/Product/ProductDesktopVariant.jsx +++ b/src/lib/product/components/Product/ProductDesktopVariant.jsx @@ -176,7 +176,7 @@ const ProductDesktopVariant = ({ return ( <DesktopView> <div className='container mx-auto pt-10'> - <Breadcrumb productId={product.id} productName={product.name} /> + <Breadcrumb id={product.id} name={product.parent.name} /> <div className='flex'> <div className='w-full flex flex-wrap'> <div className='w-5/12'> @@ -415,24 +415,11 @@ const ProductDesktopVariant = ({ Beli </button> </div> - {/* <div className='flex mt-4'> - <button - className='flex items-center gap-x-1' - onClick={toggleWishlist} - > - {wishlist.data?.productTotal > 0 ? ( - <HeartIcon className='w-6 fill-danger-500 text-danger-500' /> - ) : ( - <HeartIcon className='w-6' /> - )} - Wishlist - </button> - </div> */} <div className='border border-gray_r-6 overflow-auto mt-4'> <div className='font-medium text-center p-4 bg-gray_r-1 border-b border-gray_r-6 sticky top-0 z-10'> Produk Serupa </div> - <div className='h-full divide-y divide-gray_r-6 max-h-96'> + <div className='h-full divide-y divide-gray_r-6 max-h-[500px]'> {productSimilarInBrand && productSimilarInBrand?.map((product) => ( <div className='py-2' key={product.id}> |
