From 3c0679253cebab3ef7106a7f0a904593c597c605 Mon Sep 17 00:00:00 2001 From: coderwelsch Date: Mon, 5 Aug 2024 14:28:45 +0200 Subject: [PATCH] fix: fixed code style for popover menu button --- src/components/popover-menu/popover-menu-button.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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}> - ); };