diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-09-04 09:50:46 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-09-04 09:50:46 +0700 |
| commit | cbdeecd2fb8770afe46a374292e6ed3e5ec48214 (patch) | |
| tree | 9096b5d726b261f50222d9c50d8bb98c12cb6c4a /src-migrate/modules/promo | |
| parent | 985f29aa1d9b8cbea49d25c30099f88c86bdc13f (diff) | |
| parent | 702b5d9b6e215ad812fadaff3325e1e6164d3b24 (diff) | |
Merge branch 'Feature/new-cart-popup' into backup-release
Diffstat (limited to 'src-migrate/modules/promo')
| -rw-r--r-- | src-migrate/modules/promo/components/PromoList.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src-migrate/modules/promo/components/PromoList.tsx b/src-migrate/modules/promo/components/PromoList.tsx index 69a5ef48..d59d1867 100644 --- a/src-migrate/modules/promo/components/PromoList.tsx +++ b/src-migrate/modules/promo/components/PromoList.tsx @@ -114,7 +114,7 @@ const PromoList: React.FC<PromoListProps> = ({ selectedPromo }) => { {promoData?.map((promotion: IPromotion) => ( <SwiperSlide key={promotion.id}> <div className="min-w-36 max-w-[400px] mb-[20px] sm:w-full md:w-full lg:w-full xl:w-full"> - <ProductPromoCard promotion={promotion} /> + <ProductPromoCard product={promoItems} promotion={promotion} /> </div> </SwiperSlide> ))} @@ -122,7 +122,7 @@ const PromoList: React.FC<PromoListProps> = ({ selectedPromo }) => { )} {isMobile && (promoData?.map((promotion: IPromotion) => ( <div key={promotion.id} className="min-w-[400px] max-w-[400px]"> - <ProductPromoCard promotion={promotion} /> + <ProductPromoCard product={promoItems} promotion={promotion} /> </div> )))} |
