Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

fix(web): Fix hydration error in the bookmark preview page

MohamedBassem92cff6885d79
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>