Skip to content

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

fix(web): Suppress hydration warnings caused by the dates in the bookmark grid

MohamedBassemd7fff89159bd
diff --git a/apps/web/components/dashboard/bookmarks/BookmarkLayoutAdaptingCard.tsx b/apps/web/components/dashboard/bookmarks/BookmarkLayoutAdaptingCard.tsx
index 33b65108..f5891f40 100644
--- a/apps/web/components/dashboard/bookmarks/BookmarkLayoutAdaptingCard.tsx
+++ b/apps/web/components/dashboard/bookmarks/BookmarkLayoutAdaptingCard.tsx
@@ -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>