From 92cff6885d797aa75cf5144337e46e4e4a4030d6 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Wed, 24 Apr 2024 15:13:45 +0100
Subject: fix(web): Fix hydration error in the bookmark preview page

---
 apps/web/components/ui/button.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'apps/web/components/ui/button.tsx')

diff --git a/apps/web/components/ui/button.tsx b/apps/web/components/ui/button.tsx
index 2d6dee6b..6caff414 100644
--- a/apps/web/components/ui/button.tsx
+++ b/apps/web/components/ui/button.tsx
@@ -71,7 +71,7 @@ const ButtonWithTooltip = React.forwardRef<
 >(({ tooltip, delayDuration, ...props }, ref) => {
   return (
     <Tooltip delayDuration={delayDuration}>
-      <TooltipTrigger>
+      <TooltipTrigger asChild>
         <Button ref={ref} {...props} />
       </TooltipTrigger>
       <TooltipPortal>
-- 
cgit v1.2.3-70-g09d2

