From df11b12172da699ff1dd21592cb4c15052680664 Mon Sep 17 00:00:00 2001 From: dongyoungKo Date: Mon, 16 Jun 2025 16:09:05 +0900 Subject: [PATCH] UpCommingList find error fixed... --- .../UpComing/UpComingList/UpComingList.jsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/com.twin.app.shoptime/src/views/FeaturedBrandsPanel/UpComing/UpComingList/UpComingList.jsx b/com.twin.app.shoptime/src/views/FeaturedBrandsPanel/UpComing/UpComingList/UpComingList.jsx index 5c9e8587..b690ddc9 100644 --- a/com.twin.app.shoptime/src/views/FeaturedBrandsPanel/UpComing/UpComingList/UpComingList.jsx +++ b/com.twin.app.shoptime/src/views/FeaturedBrandsPanel/UpComing/UpComingList/UpComingList.jsx @@ -178,9 +178,11 @@ export default memo(function UpComingList({ const { hstNm, showId, showNm, strtDt, patncNm, lgCatNm, brndNm } = brandLiveChannelUpcoming[index]; - const selectedAlertShow = alertShows // - .find((show) => show?.showId === showId && show?.strtDt === strtDt); - + const selectedAlertShow = Array.isArray(alertShows) + ? alertShows.find( + (show) => show?.showId === showId && show?.strtDt === strtDt + ) + : null; const alamDispFlag = selectedAlertShow?.alamDispFlag; return (