File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/shared/containers/challenge-detail Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -290,14 +290,12 @@ class ChallengeDetailPageContainer extends React.Component {
290
290
const {
291
291
auth,
292
292
challengeId,
293
- communityId,
294
293
openTermsModal,
295
294
registerForChallenge,
296
295
terms,
297
296
} = this . props ;
298
297
if ( ! auth . tokenV3 ) {
299
- const utmSource = communityId || 'community-app-main' ;
300
- window . location . href = `${ config . URL . AUTH } /member?retUrl=${ encodeURIComponent ( window . location . href ) } &utm_source=${ utmSource } ®Source=challenges` ;
298
+ window . location . href = `${ config . URL . AUTH } /member?retUrl=${ encodeURIComponent ( window . location . href ) } ®Source=challenges` ;
301
299
} else if ( _ . every ( terms , 'agreed' ) ) {
302
300
registerForChallenge ( auth , challengeId ) ;
303
301
} else {
You can’t perform that action at this time.
0 commit comments