Right mouse click on logo bug fixed.

This commit is contained in:
nevolodia
2025-05-25 16:31:31 +02:00
parent 7498b3c1c7
commit 4031cda431

View File

@@ -100,12 +100,13 @@ const Navbar: React.FC<NavbarProps> = ({ onSwitchTheme }) => {
alignItems: 'center' alignItems: 'center'
}} }}
> >
<img <a href="/">
onClick={() => navigate('/')} <img
style={{ cursor: 'pointer' }} src={logo}
src={logo} width={isMobile ? '80px' : '150px'}
width={isMobile ? '80px' : '150px'} style={{ pointerEvents: 'none' }}
/> />
</a>
{isMobile ? ( {isMobile ? (
<> <>
<IconButton <IconButton