mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 09:33:46 +00:00
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:
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user