diff --git a/frontend-react/src/components/root/IconNavBar.tsx b/frontend-react/src/components/root/IconNavBar.tsx index a3a1b5f41..a44c7b4dd 100644 --- a/frontend-react/src/components/root/IconNavBar.tsx +++ b/frontend-react/src/components/root/IconNavBar.tsx @@ -92,13 +92,16 @@ export const navIcons: { const IconNavBar = () => { const { t } = useTranslation() - const { darkerBgColor, textColor, themeColorWithShade } = useContext( - MyThemeContext - ) + const { + darkerBgColor, + textColor, + themeColorWithShade, + grayWithShade, + } = useContext(MyThemeContext) const location = useLocation() return ( - + {navIcons.map(({ displayName, code, menuItems }) => { const codesTogether = @@ -109,28 +112,19 @@ const IconNavBar = () => { {location.pathname !== "/" && codesTogether.includes(location.pathname) ? ( - + + {displayName} + ) : ( - + + {displayName} + )}