From 79ea882e31ad85b6bf86ce36b9128222f049a0d4 Mon Sep 17 00:00:00 2001 From: aidanCQ Date: Wed, 27 Dec 2023 23:33:23 +0000 Subject: [PATCH] fix(): Add use client directive to nav menu, --- src/atoms/navigation-menu.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/atoms/navigation-menu.tsx b/src/atoms/navigation-menu.tsx index fd5a1f5..d2ab880 100644 --- a/src/atoms/navigation-menu.tsx +++ b/src/atoms/navigation-menu.tsx @@ -1,3 +1,4 @@ +'use client' import { ChevronDownIcon } from "@radix-ui/react-icons"; import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu"; import { cva } from "class-variance-authority"; @@ -129,5 +130,6 @@ export { NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, - navigationMenuTriggerStyle, + navigationMenuTriggerStyle }; +