From f67ae821230da9bc92a3c9ff6c550a36d48c0ee9 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Wed, 28 Feb 2024 15:43:32 +0000
Subject: tests: Add tests for the bookmarks routes

---
 packages/web/app/dashboard/bookmarks/components/LinkCard.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'packages/web/app/dashboard/bookmarks/components/LinkCard.tsx')

diff --git a/packages/web/app/dashboard/bookmarks/components/LinkCard.tsx b/packages/web/app/dashboard/bookmarks/components/LinkCard.tsx
index 56e3d243..cd0f128c 100644
--- a/packages/web/app/dashboard/bookmarks/components/LinkCard.tsx
+++ b/packages/web/app/dashboard/bookmarks/components/LinkCard.tsx
@@ -60,7 +60,7 @@ export default function LinkCard({
 }) {
   const { data: bookmark } = api.bookmarks.getBookmark.useQuery(
     {
-      id: initialData.id,
+      bookmarkId: initialData.id,
     },
     {
       initialData,
-- 
cgit v1.2.3-70-g09d2

