File tree Expand file tree Collapse file tree 5 files changed +8
-12
lines changed
components/challenge-detail Expand file tree Collapse file tree 5 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,6 @@ module.exports = {
14
14
*/
15
15
CONNECT_WEBSITE_URL : "https://connect.topcoder-dev.com" ,
16
16
17
- AV_SCAN_SCORER_REVIEW_TYPE_ID : "68c5a381-c8ab-48af-92a7-7a869a4ee6c3" ,
18
-
19
17
SERVER_API_KEY : "79b2d5eb-c1fd-42c4-9391-6b2c9780d591" ,
20
18
URL : {
21
19
/* Connector URL of the TC accounts App. */
@@ -122,9 +120,9 @@ module.exports = {
122
120
V2 : "https://api.topcoder-dev.com/v2" ,
123
121
} ,
124
122
MOCK_TERMS_SERVICE : false ,
125
- AV_SCAN_SCORER_REVIEW_TYPE_ID : "68c5a381-c8ab-48af-92a7-7a869a4ee6c3" ,
126
- PROVISIONAL_SCORING_COMPLETED_REVIEW_TYPE_ID :
127
- "52c91e85-745f-4e62-b592-9879a2dfe9fd ",
123
+
124
+ AV_SCAN_SCORER_REVIEW_TYPE_ID : "55bbb17d-aac2-45a6-89c3-a8d102863d05" ,
125
+ PROVISIONAL_SCORING_COMPLETED_REVIEW_TYPE_ID : "df51ca7d-fb0a-4147-9569-992fcf5aae48 ",
128
126
PAGE_SIZE : 50 ,
129
127
REVIEW_OPPORTUNITY_PAGE_SIZE : 1000 ,
130
128
CONTENTFUL : {
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ module.exports = {
15
15
SERVER_API_KEY : "aa9ccf36-3936-450c-9983-097ddba51bef" ,
16
16
CONNECT_WEBSITE_URL : "https://connect.topcoder.com" ,
17
17
18
- AV_SCAN_SCORER_REVIEW_TYPE_ID : "55bbb17d-aac2-45a6-89c3-a8d102863d05" ,
19
18
URL : {
20
19
ARENA : "https://arena.topcoder.com" ,
21
20
APP : "https://community-app.topcoder.com" ,
@@ -75,8 +74,7 @@ module.exports = {
75
74
76
75
MOCK_TERMS_SERVICE : false ,
77
76
AV_SCAN_SCORER_REVIEW_TYPE_ID : "55bbb17d-aac2-45a6-89c3-a8d102863d05" ,
78
- PROVISIONAL_SCORING_COMPLETED_REVIEW_TYPE_ID :
79
- "df51ca7d-fb0a-4147-9569-992fcf5aae48" ,
77
+ PROVISIONAL_SCORING_COMPLETED_REVIEW_TYPE_ID : "df51ca7d-fb0a-4147-9569-992fcf5aae48" ,
80
78
81
79
PAGE_SIZE : 50 ,
82
80
REVIEW_OPPORTUNITY_PAGE_SIZE : 1000 ,
Original file line number Diff line number Diff line change @@ -416,7 +416,7 @@ export default function ChallengeHeader(props) {
416
416
hasSubmissions && (
417
417
< PrimaryButton
418
418
theme = { { button : style . challengeAction } }
419
- to = { `${ challengesUrl } /${ challengeId } /my-submissions` }
419
+ to = { `${ config . URL . BASE } /challenges /${ challengeId } /my-submissions` }
420
420
>
421
421
View Submissions
422
422
</ 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 = { `${ challengesUrl } /${ challengeId } /submit` }
737
+ to = { `${ config . URL . BASE } /${ challengeId } /submit` }
738
738
>
739
739
Add Submission
740
740
</ PrimaryButton >
Original file line number Diff line number Diff line change @@ -306,7 +306,7 @@ function onRegisterDone(state, action) {
306
306
/* As a part of registration flow we silently update challenge details,
307
307
* reusing for this purpose the corresponding action handler. Thus, we
308
308
* should also reuse corresponding reducer to generate proper state. */
309
- return onGetDetailsDone (
309
+ return onGetBasicDetailsDone (
310
310
{
311
311
...state ,
312
312
registering : false ,
@@ -331,7 +331,7 @@ function onUnregisterDone(state, action) {
331
331
/* As a part of unregistration flow we silently update challenge details,
332
332
* reusing for this purpose the corresponding action handler. Thus, we
333
333
* should also reuse corresponding reducer to generate proper state. */
334
- return onGetDetailsDone (
334
+ return onGetBasicDetailsDone (
335
335
{
336
336
...state ,
337
337
unregistering : false ,
You can’t perform that action at this time.
0 commit comments