diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-08-08 16:22:00 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-08-08 16:22:00 +0700 |
| commit | 3de1a412bba31b19b8b443dd91df8aff8d6eda07 (patch) | |
| tree | dd63bb7e97bb119e63ff94fe5485c072acf8a1c2 /src-migrate/modules/product-promo/components | |
| parent | 64489b794a80b381d86ea226f0fe36457d5836be (diff) | |
<iman> update link button
Diffstat (limited to 'src-migrate/modules/product-promo/components')
| -rw-r--r-- | src-migrate/modules/product-promo/components/AddToCart.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-migrate/modules/product-promo/components/AddToCart.tsx b/src-migrate/modules/product-promo/components/AddToCart.tsx index 8567dad8..3d0955e3 100644 --- a/src-migrate/modules/product-promo/components/AddToCart.tsx +++ b/src-migrate/modules/product-promo/components/AddToCart.tsx @@ -132,7 +132,7 @@ const ProductPromoAddToCart = ({product, promotion }: Props) => { /> </div> <div className='ml-3 flex flex-1 items-start font-medium justify-center flex-col gap-y-1'> - {!!product.manufacture.name ? ( + {!!product?.manufacture?.name ? ( <Link href={createSlug('/shop/brands/', product.manufacture.name, product.manufacture.id.toString())} className=' hover:underline' |
