diff --git a/frontend/src/routes/components/header.tsx b/frontend/src/routes/components/header.tsx index 92b16cba5595214218f21ce979f35084169a05c8..28ab293501e1efb7ba2c2e2fd7e0f331065ca562 100644 --- a/frontend/src/routes/components/header.tsx +++ b/frontend/src/routes/components/header.tsx @@ -2,6 +2,8 @@ import { styled } from '@mui/material/styles' import { Box, Link, useMediaQuery } from '@mui/material' import LogoutIcon from '@mui/icons-material/Logout' import { useTranslation } from 'react-i18next' +import { Link as RouterLink } from 'react-router-dom' + import { useUserContext } from 'contexts' import LanguageSelector from 'components/languageselector' import UserInfo from 'routes/components/userInfo' @@ -56,7 +58,11 @@ const Header = () => { return ( <StyledHeader> <MainContainer> - <LogoContainer>{getHeaderLogo()}</LogoContainer> + <LogoContainer> + <Link component={RouterLink} to="/"> + {getHeaderLogo()} + </Link> + </LogoContainer> <Menu> <LanguageSelector noPadding /> {spaceAvailable && <UserInfo />}