Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
yangshun committed May 18, 2020
1 parent 8b2d618 commit 3d31976
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ function NavItem({items, position, className, ...props}) {
}

function MobileNavItem({items, position, className, ...props}) {
// Need to destructure position from props so that it doesn't get passed on.
const navLinkClassNames = (extraClassName, isSubList = false) =>
classnames(
'menu__link',
Expand Down

0 comments on commit 3d31976

Please sign in to comment.