diff --git a/lib/components/ContextMenu/ContextMenu.tsx b/lib/components/ContextMenu/ContextMenu.tsx index da0277da..ef528e1b 100644 --- a/lib/components/ContextMenu/ContextMenu.tsx +++ b/lib/components/ContextMenu/ContextMenu.tsx @@ -1,3 +1,4 @@ +'use client'; import type { DropdownPlacement, MenuItemProps } from '../'; import { type MenuItemGroups, MenuItems } from '../'; import { useRootContext } from '../RootProvider'; diff --git a/lib/components/Layout/Layout.tsx b/lib/components/Layout/Layout.tsx index 05a317bd..c5d316a4 100644 --- a/lib/components/Layout/Layout.tsx +++ b/lib/components/Layout/Layout.tsx @@ -1,3 +1,4 @@ +'use client'; import type { ReactNode } from 'react'; import { LayoutBase, LayoutBody, LayoutContent, LayoutSidebar, type LayoutTheme } from '.'; import { Footer, type FooterProps } from '../Footer';