From c795c1171f1d404560132fa6ff856f02cb532ce7 Mon Sep 17 00:00:00 2001 From: Rahul <42063508+therahulbehera@users.noreply.github.com> Date: Fri, 10 Oct 2025 05:29:58 +0530 Subject: [PATCH] docs(apps/www/content): Update navigation-menu.mdx missing NavigationMenu was missing in the example (https://ui.shadcn.com/docs/components/navigation-menu), which was throwing an error while building in the Next.js app. It says NavigationMenuDemo, so I expected it to run directly when I pasted it in my code editor. --- .../content/docs/components/navigation-menu.mdx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/apps/www/content/docs/components/navigation-menu.mdx b/apps/www/content/docs/components/navigation-menu.mdx index 25345dc1a3e..0a6d5a11462 100644 --- a/apps/www/content/docs/components/navigation-menu.mdx +++ b/apps/www/content/docs/components/navigation-menu.mdx @@ -86,13 +86,15 @@ import { navigationMenuTriggerStyle } from "@/components/ui/navigation-menu" ``` ```tsx {3-5} - - - - Documentation - - - + + + + + Documentation + + + + ``` See also the [Radix UI documentation](https://www.radix-ui.com/docs/primitives/components/navigation-menu#with-client-side-routing) for handling client side routing.