From cb8ef99efc58a766460b1858999577f3d0c3353c Mon Sep 17 00:00:00 2001
From: Leonardo <leomilho@gmail.com>
Date: Tue, 11 Jun 2024 12:46:33 +0200
Subject: [PATCH] fix: remove button from popovertrigger

---
 libs/shared/lib/components/layout/Popover.tsx | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/libs/shared/lib/components/layout/Popover.tsx b/libs/shared/lib/components/layout/Popover.tsx
index 4a4cf7a8a..70af69867 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>
   );
 });
 
-- 
GitLab