in src/theme/Navbar/MobileSidebar/PrimaryMenu/index.tsx [19:39]
export default function NavbarMobilePrimaryMenu(): JSX.Element {
const mobileSidebar = useNavbarMobileSidebar();
// TODO how can the order be defined for mobile?
// Should we allow providing a different list of items?
const items = useNavbarItems();
const ignoreType = ['custom-githubstar']
return (
<ul className="menu__list">
{items.filter(a => !ignoreType.includes(a.type)).map((item, i) => (
<NavbarItem
mobile
{...item}
onClick={() => mobileSidebar.toggle()}
key={i}
/>
))}
</ul>
);
}