Skip to content

Commit e07747c

Browse files
committed
Fix for #4616
1 parent 5b59cbd commit e07747c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

config/production.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ module.exports = {
185185
ACCOUNT_MENU: [
186186
{
187187
title: 'Settings',
188-
href: 'https://topcoder.com/settings/profile',
188+
href: '/settings/profile',
189189
},
190190
{ separator: true },
191191
{

src/shared/routes/Communities/TCO21/Routes.jsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import ContentfulRoute from 'components/Contentful/Route';
1010
import ContentfulMenu from 'components/Contentful/Menu';
1111
import Profile from 'routes/Profile';
1212
import ProfileStats from 'routes/ProfileStats';
13+
import Settings from 'routes/Settings';
1314

1415
export default function TCO21({ base, meta }) {
1516
return (
@@ -35,6 +36,10 @@ export default function TCO21({ base, meta }) {
3536
exact
3637
path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`}
3738
/>
39+
<Route
40+
component={() => <Settings base={`${base}/settings`} />}
41+
path={`${base}/settings`}
42+
/>
3843
<ContentfulRoute
3944
baseUrl={base}
4045
error404={<Error404 />}

0 commit comments

Comments
 (0)