Skip to content

Commit d7fff89

Browse files
committed
fix(web): Suppress hydration warnings caused by the dates in the bookmark grid
1 parent 72f03b2 commit d7fff89

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

apps/web/components/dashboard/bookmarks/BookmarkLayoutAdaptingCard.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ function BottomRow({
3939
<div className="justify flex w-full shrink-0 justify-between text-gray-500">
4040
<div className="flex items-center gap-2 overflow-hidden text-nowrap">
4141
{footer && <>{footer}</>}
42-
<Link href={`/dashboard/preview/${bookmark.id}`}>
42+
<Link
43+
href={`/dashboard/preview/${bookmark.id}`}
44+
suppressHydrationWarning
45+
>
4346
{dayjs(bookmark.createdAt).format("MMM DD")}
4447
</Link>
4548
</div>

0 commit comments

Comments
 (0)