From 15dc05fffc24c52d3ca6502232f4321b4ba9ce8f Mon Sep 17 00:00:00 2001 From: jessop Date: Fri, 28 Feb 2020 00:18:37 -0500 Subject: [PATCH] simplify header on mobile --- ui/component/header/view.jsx | 12 +----------- ui/component/sideNavigation/view.jsx | 3 +++ ui/scss/component/_header.scss | 8 ++++++++ 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/ui/component/header/view.jsx b/ui/component/header/view.jsx index ecba00685..c8b427a0f 100644 --- a/ui/component/header/view.jsx +++ b/ui/component/header/view.jsx @@ -60,7 +60,6 @@ const Header = (props: Props) => { // on the verify page don't let anyone escape other than by closing the tab to keep session data consistent const isVerifyPage = history.location.pathname.includes(PAGES.AUTH_VERIFY); - const isAuthPage = history.location.pathname.includes(PAGES.AUTH); // Sign out if they click the "x" when they are on the password prompt const authHeaderAction = syncError ? { onClick: signOut } : { navigate: '/' }; @@ -104,7 +103,7 @@ const Header = (props: Props) => {
) )} - - {!authenticated && !isAuthPage && ( -
diff --git a/ui/component/sideNavigation/view.jsx b/ui/component/sideNavigation/view.jsx index c71cbc244..b70f7ee05 100644 --- a/ui/component/sideNavigation/view.jsx +++ b/ui/component/sideNavigation/view.jsx @@ -96,6 +96,9 @@ function SideNavigation(props: Props) {