File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export const EnvironmentConfigDefault: EnvironmentConfigModel = {
43
43
THRIVE_PAGE : `${ COMMUNITY_WEBSITE } /thrive` ,
44
44
USER_PROFILE : `${ COMMUNITY_WEBSITE } /members` ,
45
45
WP_CONTENT : `${ COMMUNITY_WEBSITE } /wp-content` ,
46
- ACC_SETTINGS : `${ COMMUNITY_WEBSITE } /settings/profile` ,
46
+ ACCOUNT_SETTINGS : `${ COMMUNITY_WEBSITE } /settings/profile` ,
47
47
} ,
48
48
UNIVERSAL_NAV : {
49
49
URL : 'https://uni-nav.topcoder-dev.com/v1/tc-universal-nav.js' ,
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ export const EnvironmentConfigProd: EnvironmentConfigModel = {
41
41
THRIVE_PAGE : `${ COMMUNITY_WEBSITE } /thrive` ,
42
42
USER_PROFILE : `${ COMMUNITY_WEBSITE } /members` ,
43
43
WP_CONTENT : `${ COMMUNITY_WEBSITE } /wp-content` ,
44
- ACC_SETTINGS : `${ COMMUNITY_WEBSITE } /settings/profile` ,
44
+ ACCOUNT_SETTINGS : `${ COMMUNITY_WEBSITE } /settings/profile` ,
45
45
} ,
46
46
UNIVERSAL_NAV : {
47
47
URL : 'https://uni-nav.topcoder.com/v1/tc-universal-nav.js' ,
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export interface GlobalConfig {
36
36
THRIVE_PAGE : string
37
37
USER_PROFILE : string
38
38
WP_CONTENT : string
39
- ACC_SETTINGS : string
39
+ ACCOUNT_SETTINGS : string
40
40
}
41
41
UNIVERSAL_NAV : {
42
42
URL : string
Original file line number Diff line number Diff line change @@ -12,15 +12,15 @@ const Account: FC<{}> = () => {
12
12
// setup auto redirect in 5sec.
13
13
useEffect ( ( ) => {
14
14
setTimeout ( ( ) => {
15
- window . location . href = EnvironmentConfig . TOPCODER_URLS . ACC_SETTINGS
15
+ window . location . href = EnvironmentConfig . TOPCODER_URLS . ACCOUNT_SETTINGS
16
16
} , 5000 )
17
17
} , [ ] )
18
18
19
19
return (
20
20
< div className = { styles . cards } >
21
21
22
- < h3 > This page is obsolete .</ h3 >
23
- < Button label = 'Navigate to Account Settings' url = { `${ EnvironmentConfig . TOPCODER_URLS . ACC_SETTINGS } ` } />
22
+ < h3 > This page has moved .</ h3 >
23
+ < Button label = 'Navigate to Account Settings' url = { `${ EnvironmentConfig . TOPCODER_URLS . ACCOUNT_SETTINGS } ` } />
24
24
< p > We will automatically redirect you in 5 seconds...</ p >
25
25
</ div >
26
26
)
You can’t perform that action at this time.
0 commit comments