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 = {
4343 THRIVE_PAGE : `${ COMMUNITY_WEBSITE } /thrive` ,
4444 USER_PROFILE : `${ COMMUNITY_WEBSITE } /members` ,
4545 WP_CONTENT : `${ COMMUNITY_WEBSITE } /wp-content` ,
46- ACC_SETTINGS : `${ COMMUNITY_WEBSITE } /settings/profile` ,
46+ ACCOUNT_SETTINGS : `${ COMMUNITY_WEBSITE } /settings/profile` ,
4747 } ,
4848 UNIVERSAL_NAV : {
4949 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 = {
4141 THRIVE_PAGE : `${ COMMUNITY_WEBSITE } /thrive` ,
4242 USER_PROFILE : `${ COMMUNITY_WEBSITE } /members` ,
4343 WP_CONTENT : `${ COMMUNITY_WEBSITE } /wp-content` ,
44- ACC_SETTINGS : `${ COMMUNITY_WEBSITE } /settings/profile` ,
44+ ACCOUNT_SETTINGS : `${ COMMUNITY_WEBSITE } /settings/profile` ,
4545 } ,
4646 UNIVERSAL_NAV : {
4747 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 {
3636 THRIVE_PAGE : string
3737 USER_PROFILE : string
3838 WP_CONTENT : string
39- ACC_SETTINGS : string
39+ ACCOUNT_SETTINGS : string
4040 }
4141 UNIVERSAL_NAV : {
4242 URL : string
Original file line number Diff line number Diff line change @@ -12,15 +12,15 @@ const Account: FC<{}> = () => {
1212 // setup auto redirect in 5sec.
1313 useEffect ( ( ) => {
1414 setTimeout ( ( ) => {
15- window . location . href = EnvironmentConfig . TOPCODER_URLS . ACC_SETTINGS
15+ window . location . href = EnvironmentConfig . TOPCODER_URLS . ACCOUNT_SETTINGS
1616 } , 5000 )
1717 } , [ ] )
1818
1919 return (
2020 < div className = { styles . cards } >
2121
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 } ` } />
2424 < p > We will automatically redirect you in 5 seconds...</ p >
2525 </ div >
2626 )
You can’t perform that action at this time.
0 commit comments