Skip to content

Commit

Permalink
fix ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
vvu060 committed Dec 26, 2023
1 parent 3df0907 commit b1b3620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/theme/Navbar/MobileSidebar/PrimaryMenu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function NavbarMobilePrimaryMenu() {
return (
<ul className="menu__list">
{items.map((item, i) => (
<NavbarItem mobile {...item} onClick={() => mobileSidebar.toggle()} key={i} />
<NavbarItem mobile {...(item as any)} onClick={() => mobileSidebar.toggle()} key={i} />
))}
<li className="menu__list-item">
<GithubStarsButton className="menu__link" />
Expand Down

0 comments on commit b1b3620

Please sign in to comment.