Skip to content

Commit

Permalink
fix(): Add use client directive to nav menu,
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanCQ committed Dec 27, 2023
1 parent 1fee055 commit 79ea882
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/atoms/navigation-menu.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down Expand Up @@ -129,5 +130,6 @@ export {
NavigationMenuList,
NavigationMenuTrigger,
NavigationMenuViewport,
navigationMenuTriggerStyle,
navigationMenuTriggerStyle
};

0 comments on commit 79ea882

Please sign in to comment.