diff --git a/src/layouts/navbar/index.tsx b/src/layouts/navbar/index.tsx index 6ac44b41407..19104e7a72b 100644 --- a/src/layouts/navbar/index.tsx +++ b/src/layouts/navbar/index.tsx @@ -7,7 +7,6 @@ import { Menu, MenuItem, Toolbar, - useTheme, } from '@mui/material'; import { IconAccount, @@ -19,7 +18,7 @@ import { IconMail, IconArrowLink, IconLogout, - IconArrowBack, + IconNavigateLeft, IconSettings, } from '@icons/index'; import { useAppTranslation, useFirebaseAuth } from '@hooks/index'; @@ -58,7 +57,7 @@ const menuStyle = { const NavBar = ({ isSupported }: NavBarType) => { const { t } = useAppTranslation(); - const theme = useTheme(); + const { isAuthenticated } = useFirebaseAuth(); @@ -487,22 +486,12 @@ const NavBar = ({ isSupported }: NavBarType) => { aria-label={t('tr_back')} onClick={handleBack} sx={{ - marginLeft: '-10px', '&:hover': { backgroundColor: 'var(--accent-200)', - '& svg': { - transform: - theme.direction === 'rtl' - ? 'translateX(-4px) scaleX(-1)' - : 'translateX(4px)', - }, - }, - '& svg': { - transition: 'transform 0.2s ease-in-out', }, }} > - +