File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/components/challenge-detail Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -412,7 +412,7 @@ export default function ChallengeHeader(props) {
412
412
isLegacyMM
413
413
}
414
414
theme = { { button : style . challengeAction } }
415
- to = { `${ config . URL . BASE } /challenges /${ challengeId } /submit` }
415
+ to = { `${ challengesUrl } /${ challengeId } /submit` }
416
416
>
417
417
Submit
418
418
</ PrimaryButton >
@@ -422,7 +422,7 @@ export default function ChallengeHeader(props) {
422
422
hasSubmissions && (
423
423
< PrimaryButton
424
424
theme = { { button : style . challengeAction } }
425
- to = { `${ config . URL . BASE } /challenges /${ challengeId } /my-submissions` }
425
+ to = { `${ challengesUrl } /${ challengeId } /my-submissions` }
426
426
>
427
427
View Submissions
428
428
</ PrimaryButton >
Original file line number Diff line number Diff line change @@ -734,7 +734,7 @@ class SubmissionsComponent extends React.Component {
734
734
! hasRegistered || unregistering || submissionEnded || isLegacyMM
735
735
}
736
736
theme = { { button : style . challengeAction } }
737
- to = { `${ config . URL . BASE } /${ challengeId } /submit` }
737
+ to = { `${ challengesUrl } /${ challengeId } /submit` }
738
738
>
739
739
Add Submission
740
740
</ PrimaryButton >
You can’t perform that action at this time.
0 commit comments