aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-04-24 15:13:45 +0100
committerMohamedBassem <me@mbassem.com>2024-04-24 15:13:45 +0100
commit92cff6885d797aa75cf5144337e46e4e4a4030d6 (patch)
tree38def2b038d451ecab60a8b4b2d1207f37bbe8a7 /apps/web
parentec15d20abac65bfda6c8e6396ce9fc2061f5067a (diff)
downloadkarakeep-92cff6885d797aa75cf5144337e46e4e4a4030d6.tar.zst
fix(web): Fix hydration error in the bookmark preview page
Diffstat (limited to 'apps/web')
-rw-r--r--apps/web/components/ui/button.tsx2
1 files changed, 1 insertions, 1 deletions
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>