diff --git a/src/components/shared/NavigationMenu.tsx b/src/components/shared/NavigationMenu.tsx index 7680b38..0c3661e 100644 --- a/src/components/shared/NavigationMenu.tsx +++ b/src/components/shared/NavigationMenu.tsx @@ -221,11 +221,16 @@ export function NavigationMenu( const ListItem = React.forwardRef< React.ElementRef<"a">, React.ComponentPropsWithoutRef<"a"> ->(({ className, title, children, ...props }, ref) => { +>(({ className, href, title, children, ...props }, ref) => { + if (href == null) { + console.error("ListItem: href is required") + return null + } return (
  • - {children}

    -
    +
  • )