Skip to content

Commit

Permalink
MNES-1063 Mnestix logo size corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
pawel-baran-se committed Jul 3, 2024
1 parent 143f7ae commit 00be180
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/layout/HeaderLogo.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Box, useTheme } from '@mui/material';
import { useRouter } from 'next/navigation';
import { MnestixLogo } from 'components/basics/MnestixLogo';
import Image from 'next/image';
export function HeaderLogo() {
const theme = useTheme();
const navigate = useRouter();
Expand All @@ -12,7 +11,7 @@ export function HeaderLogo() {

return (
<Box data-testid="header-logo" onClick={goToHome} sx={{ height: '100%', cursor: 'pointer' }}>
{theme?.productLogo?.logo ? <Image style={{ height: '100%' }} src={theme.productLogo.logo} alt={'default Mnestix logo'} /> : <MnestixLogo />}
{theme?.productLogo?.logo ? <img height="100%" src={theme.productLogo.logo} alt={'default Mnestix logo'}/> : <MnestixLogo />}
</Box>
);
}

0 comments on commit 00be180

Please sign in to comment.