diff options
Diffstat (limited to 'modern/src/common/components/BottomMenu.js')
-rw-r--r-- | modern/src/common/components/BottomMenu.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/common/components/BottomMenu.js b/modern/src/common/components/BottomMenu.js index 3865de29..048cb0d7 100644 --- a/modern/src/common/components/BottomMenu.js +++ b/modern/src/common/components/BottomMenu.js @@ -27,7 +27,7 @@ const BottomMenu = () => { const [anchorEl, setAnchorEl] = useState(null); const currentSelection = () => { - if (location.pathname.startsWith('/user')) { + if (location.pathname.startsWith('/settings/user')) { return 3; } if (location.pathname.startsWith('/settings')) { return 2; @@ -41,7 +41,7 @@ const BottomMenu = () => { const handleAccount = () => { setAnchorEl(null); - history.push(`/user/${userId}`); + history.push(`/settings/user/${userId}`); }; const handleLogout = async () => { |