summaryrefslogtreecommitdiff
path: root/src-migrate/modules/promo/components
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-09-04 03:00:30 +0000
committertrisusilo <tri.susilo@altama.co.id>2024-09-04 03:00:30 +0000
commit69c9ecc99c487c16129f5dcb66c4775453589220 (patch)
tree7aead541e26b5166ae3d2049fc732c7030e4e9c6 /src-migrate/modules/promo/components
parent985f29aa1d9b8cbea49d25c30099f88c86bdc13f (diff)
parentf6a398c036d2ab833ecb798fa88e641e2f801bb0 (diff)
Merged in backup-release (pull request #289)
Backup release Approved-by: trisusilo
Diffstat (limited to 'src-migrate/modules/promo/components')
-rw-r--r--src-migrate/modules/promo/components/PromoList.tsx4
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>
)))}