diff --git a/src/App.jsx b/src/App.jsx index fc43d81..4d673e4 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -60,7 +60,7 @@ const App = () => { noThrow profileUrl={ location.pathname.includes("/self-service") - ? "/self-service/profile/" + ? "/self-service/account/" : `/profile/${_.get(auth, "profile.handle", "")}` } hideSwitchTools={isNavigationDisabled} diff --git a/src/components/UserMenu/index.jsx b/src/components/UserMenu/index.jsx index c3765fa..f012705 100644 --- a/src/components/UserMenu/index.jsx +++ b/src/components/UserMenu/index.jsx @@ -69,7 +69,7 @@ const UserMenu = ({ profile, profileUrl }) => { to={`${profileUrl}`} onClick={closeMenu} > - Profile + {profileUrl.startsWith('/self-service') ? 'Account' : 'Profile'}