diff --git a/src/components/menu/Menu.tsx b/src/components/menu/Menu.tsx index 8fd809f0..d0075d3c 100644 --- a/src/components/menu/Menu.tsx +++ b/src/components/menu/Menu.tsx @@ -1,10 +1,4 @@ -import { - FloatingPortal, - autoUpdate, - flip, - offset, - useFloating, -} from '@floating-ui/react' +import { autoUpdate, flip, offset, useFloating } from '@floating-ui/react' import { Menu as HeadlessMenu, MenuButton as HeadlessMenuButton, @@ -85,15 +79,13 @@ export function Menu({ className, children, button, placement }: MenuProps) { : button} {open && ( - - - {children} - - + + {children} + )} )}