diff --git a/src/shared/components/SubmissionPage/Submit/index.jsx b/src/shared/components/SubmissionPage/Submit/index.jsx index 93350f7353..6f6f558d23 100644 --- a/src/shared/components/SubmissionPage/Submit/index.jsx +++ b/src/shared/components/SubmissionPage/Submit/index.jsx @@ -150,8 +150,8 @@ class Submit extends React.Component { const topGearCommunity = _.find(communitiesList.data, { mainSubdomain: 'topgear' }); if (topGearCommunity) { // check the group info match with group list - _.forOwn(groups, (value, key) => { - if (value && _.includes(topGearCommunity.groupIds, key)) { + _.forOwn(groups, (value) => { + if (value && _.includes(topGearCommunity.groupIds, value)) { isChallengeBelongToTopgearGroup = true; return false; }