diff --git a/packages/gitbook/src/components/PageActions/PageActionsDropdown.tsx b/packages/gitbook/src/components/PageActions/PageActionsDropdown.tsx index a18a1c4db..ec85fad98 100644 --- a/packages/gitbook/src/components/PageActions/PageActionsDropdown.tsx +++ b/packages/gitbook/src/components/PageActions/PageActionsDropdown.tsx @@ -24,8 +24,13 @@ import { type PageActionAssistantContext, } from './PageActions'; import { Button, ButtonGroup } from '@/components/primitives/Button'; -import { DropdownMenu, DropdownMenuSeparator } from '@/components/primitives/DropdownMenu'; +import { + DropdownMenu, + DropdownMenuSeparator, + useDropdownMenuOpen, +} from '@/components/primitives/DropdownMenu'; import { tString, useLanguage } from '@/intl/client'; +import type { ClassValue } from '@/lib/tailwind'; /** * Type of a built-in page action that can be displayed in the page actions menu. @@ -137,7 +142,7 @@ export function PageActionsDropdown(props: PageActionsDropdownProps) { className="!min-w-60 max-w-max" button={