Skip to content

Commit

Permalink
Remove redundant preventOpenLink import and usage (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hachondeoro authored Aug 12, 2024
1 parent 75fcdfe commit 1854d8f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/main-navigation-links.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import MainNavigationLink from './main-navigation-link.tsx';
import {
MdArrowDropDown,
} from 'react-icons/md';
import preventOpenLink from './prevent-open-link.tsx';
import NavigationLink from './navigation-link.tsx';

const mainNavigationLinks = ({
Expand All @@ -26,7 +25,7 @@ const mainNavigationLinks = ({
aria-controls={`${ ariakey }-menu`}
>
<Lang lnkey={lnkey}/>
<MdArrowDropDown onClick={preventOpenLink}/>
<MdArrowDropDown />
</NavigationLink>
<ul aria-labelledby={`dropdown-${ ariakey }`} id={`${ ariakey }-menu`}>{
items.map((child,) => <MainNavigationLink
Expand Down

0 comments on commit 1854d8f

Please sign in to comment.