From b42f61ff7b472f438d64eadabd57eebc4bd35c36 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Mon, 4 Mar 2024 21:47:17 +0000
Subject: fix: Fix Edit tags not populating tags when link is first added

---
 packages/web/app/dashboard/bookmarks/components/BookmarkOptions.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

diff --git a/packages/web/app/dashboard/bookmarks/components/BookmarkOptions.tsx b/packages/web/app/dashboard/bookmarks/components/BookmarkOptions.tsx
index d4447f29..e6d0cd15 100644
--- a/packages/web/app/dashboard/bookmarks/components/BookmarkOptions.tsx
+++ b/packages/web/app/dashboard/bookmarks/components/BookmarkOptions.tsx
@@ -30,8 +30,8 @@ export default function BookmarkOptions({ bookmark }: { bookmark: ZBookmark }) {
   const { toast } = useToast();
   const linkId = bookmark.id;
 
-  const [_, setTagModalIsOpen, tagModal] = useTagModel(bookmark);
-  const [_2, setAddToListModalOpen, addToListModal] = useAddToListModal(
+  const {setOpen: setTagModalIsOpen, content: tagModal} = useTagModel(bookmark);
+  const {setOpen: setAddToListModalOpen, content: addToListModal} = useAddToListModal(
     bookmark.id,
   );
 
-- 
cgit v1.2.3-70-g09d2

