diff --git a/src/components/popover-menu/popover-menu-button.tsx b/src/components/popover-menu/popover-menu-button.tsx index c6a2d2dc..54eed1c5 100644 --- a/src/components/popover-menu/popover-menu-button.tsx +++ b/src/components/popover-menu/popover-menu-button.tsx @@ -8,14 +8,18 @@ export interface NavigationPopoverButtonProps extends ButtonProps { onClick?: () => void; } -export const PopoverMenuButton = ({ onClick, ...restProps }: NavigationPopoverButtonProps) => { +export const PopoverMenuButton = ({ + onClick, + children, + ...restProps +}: NavigationPopoverButtonProps) => { const { popoverButton: { setReferenceElement }, } = usePopoverMenuContext(); return ( el && setReferenceElement(el)} onClick={onClick}> - ); };