diff --git a/src/components/activity/ActivityDetail/ActivityDetail.jsx b/src/components/activity/ActivityDetail/ActivityDetail.jsx index 5ba5ee07..6e2d6126 100644 --- a/src/components/activity/ActivityDetail/ActivityDetail.jsx +++ b/src/components/activity/ActivityDetail/ActivityDetail.jsx @@ -116,21 +116,21 @@ const ActivityDetail = ({ {activity.available && memberId !== activity.host.loginID && - !activity.members.includes(memberId) && - activity.members.length < activity.capacity && ( + !activity.memberLoginIds.includes(memberId) && + activity.memberLoginIds.length < activity.capacity && ( 신청 )} {activity.available && memberId !== activity.host.loginID && - !activity.members.includes(memberId) && - activity.members.length >= activity.capacity && ( + !activity.memberLoginIds.includes(memberId) && + activity.memberLoginIds.length >= activity.capacity && ( [정원 마감] )} {activity.available && memberId !== activity.host.loginID && - activity.members.includes(memberId) && ( + activity.memberLoginIds.includes(memberId) && ( 신청 취소