diff --git a/src/components/MarketPlace/PopUp/MarketPopUp.jsx b/src/components/MarketPlace/PopUp/MarketPopUp.jsx index 9cb9585..79f9aea 100644 --- a/src/components/MarketPlace/PopUp/MarketPopUp.jsx +++ b/src/components/MarketPlace/PopUp/MarketPopUp.jsx @@ -11,7 +11,7 @@ import LockJob from "./LockJob"; const MarketPopUp = ({ details, onClose, situation, marketInt, marketPlaceProduct }) => { let { jobLists } = useSelector((state) => state.jobLists); - const [{interest_count}] = jobLists?.interest_list?.filter(item => item.job_uid == details.job_uid); + const interestCount = jobLists?.interest_list?.filter(item => item.job_uid == details.job_uid); // console.log('interestList', interest_count) // console.log('MEMO', jobLists?.interest_list, datas.job_uid) @@ -332,7 +332,7 @@ const MarketPopUp = ({ details, onClose, situation, marketInt, marketPlaceProduc
- Interest: {interest_count || details.interest_count} + Interest: {interestCount.length > 0 ? interestCount[0].interest_count : '0'}