diff --git a/libs/shared/lib/components/layout/Popover.tsx b/libs/shared/lib/components/layout/Popover.tsx index 4a4cf7a8a589c3d7371543cb7c5e20b1336518d1..70af69867427d3f5ec3561cc5d8988467c040d0a 100644 --- a/libs/shared/lib/components/layout/Popover.tsx +++ b/libs/shared/lib/components/layout/Popover.tsx @@ -151,15 +151,14 @@ export const PopoverTrigger = React.forwardRef<HTMLElement, React.HTMLProps<HTML } return ( - <button + <div ref={ref} - type="button" // The user can style the trigger based on the state data-state={context.open ? 'open' : 'closed'} {...context.interactions.getReferenceProps(props)} > {children} - </button> + </div> ); });