Skip to content

Commit

Permalink
Merge pull request #152 from mariusflorescu/mobile-sidebar
Browse files Browse the repository at this point in the history
Fix #141
  • Loading branch information
jrgarciadev committed Jan 23, 2022
2 parents 39c6fc6 + 5d52e69 commit a3a6c19
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/docs/src/components/nav-link/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ const NavLink: React.FC<NavLinkProps> = ({
</Link>
) : (
<NextLink href={pathname || href}>
<Link onClick={() => !comingSoon && onClick}>{title}</Link>
<Link onClick={(e) => !comingSoon && onClick && onClick(e)}>
{title}
</Link>
</NextLink>
)
}
Expand Down

1 comment on commit a3a6c19

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for nextui-docs ready!

✅ Preview
https://nextui-docs-ludpb3aiu-nextui-org.vercel.app

Built with commit a3a6c19.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.