From d7fff89159bd284cde0919391543261ec707c9ef Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Sat, 6 Jul 2024 10:10:01 +0000
Subject: fix(web): Suppress hydration warnings caused by the dates in the
 bookmark grid

---
 .../components/dashboard/bookmarks/BookmarkLayoutAdaptingCard.tsx    | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'apps/web/components/dashboard/bookmarks/BookmarkLayoutAdaptingCard.tsx')

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>
-- 
cgit v1.2.3-70-g09d2

