diff --git a/src/components/toolbar/AppToolbar.tsx b/src/components/toolbar/AppToolbar.tsx index 0cc55b339..d63d007cf 100644 --- a/src/components/toolbar/AppToolbar.tsx +++ b/src/components/toolbar/AppToolbar.tsx @@ -43,10 +43,7 @@ const AppToolbar: FC = ({ const isBackButtonAvailable = appRouter.canGoBack(); // Handles a specific case to hide the user menu on the select server page while authenticated - let isUserMenuAvailable = true; - if (currentLocation.pathname == '/selectserver.html') { - isUserMenuAvailable = false; - } + const isUserMenuAvailable = currentLocation.pathname !== '/selectserver.html'; return (