From 83e973654c1fe62122710071365a777f336a42ed Mon Sep 17 00:00:00 2001 From: brooketopcoder Date: Tue, 3 May 2022 14:25:58 -0700 Subject: [PATCH] PROD-1558 account settings redo #time 5m --- src/App.jsx | 2 +- src/components/UserMenu/index.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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'}