Merge pull request #60 from enkinvsh/fix/close-menu-on-tabbar-click

Close mobile menu when clicking bottom nav items
This commit is contained in:
Egor
2026-01-20 07:03:10 +03:00
committed by GitHub

View File

@@ -635,6 +635,7 @@ export default function Layout({ children }: LayoutProps) {
<Link
key={item.path}
to={item.path}
onClick={() => setMobileMenuOpen(false)}
className={isActive(item.path) ? 'bottom-nav-item-active' : 'bottom-nav-item'}
>
<item.icon />