diff options
| author | MohamedBassem <me@mbassem.com> | 2024-07-06 10:10:01 +0000 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-07-06 10:10:01 +0000 |
| commit | d7fff89159bd284cde0919391543261ec707c9ef (patch) | |
| tree | 9ce5e7430ceda311336ddbe33ca1ecf45365d34c /apps/web/components/dashboard/bookmarks/BookmarkLayoutAdaptingCard.tsx | |
| parent | 72f03b209340b3f838eab8fd8de987d598d2691e (diff) | |
| download | karakeep-d7fff89159bd284cde0919391543261ec707c9ef.tar.zst | |
fix(web): Suppress hydration warnings caused by the dates in the bookmark grid
Diffstat (limited to 'apps/web/components/dashboard/bookmarks/BookmarkLayoutAdaptingCard.tsx')
| -rw-r--r-- | apps/web/components/dashboard/bookmarks/BookmarkLayoutAdaptingCard.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
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> |
