Skip to content

Commit

Permalink
fix(web): Suppress hydration warnings caused by the dates in the book…
Browse files Browse the repository at this point in the history
…mark grid
  • Loading branch information
MohamedBassem committed Jul 6, 2024
1 parent 72f03b2 commit d7fff89
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ function BottomRow({
<div className="justify flex w-full shrink-0 justify-between text-gray-500">
<div className="flex items-center gap-2 overflow-hidden text-nowrap">
{footer && <>{footer}</>}
<Link href={`/dashboard/preview/${bookmark.id}`}>
<Link
href={`/dashboard/preview/${bookmark.id}`}
suppressHydrationWarning
>
{dayjs(bookmark.createdAt).format("MMM DD")}
</Link>
</div>
Expand Down

0 comments on commit d7fff89

Please sign in to comment.