Skip to content

Commit

Permalink
fix: Fix the creation date tooltip in preview pag
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedBassem committed Mar 22, 2024
1 parent e0950b7 commit 816d1d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/web/components/dashboard/bookmarks/BookmarkPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ function CreationTime({ createdAt }: { createdAt: Date }) {
<CalendarDays /> {dayjs(createdAt).fromNow()}
</span>
</TooltipTrigger>
<TooltipContent>{createdAt.toLocaleString()}</TooltipContent>
<TooltipPortal>
<TooltipContent>{createdAt.toLocaleString()}</TooltipContent>
</TooltipPortal>
</Tooltip>
</TooltipProvider>
);
Expand Down

0 comments on commit 816d1d6

Please sign in to comment.