From 08140c22aaab20465552ece506aac3a7301d5a33 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 24 Jul 2023 14:20:05 -0400 Subject: [PATCH] minor bug fix --- components/LinkCard.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/LinkCard.tsx b/components/LinkCard.tsx index 2dd2b474..1f5dcd49 100644 --- a/components/LinkCard.tsx +++ b/components/LinkCard.tsx @@ -35,6 +35,8 @@ export default function LinkCard({ link, count, className }: Props) { const { collections } = useCollectionStore(); + const { links } = useLinkStore(); + const { account } = useAccountStore(); let shortendURL; @@ -58,7 +60,7 @@ export default function LinkCard({ link, count, className }: Props) { (e) => e.id === link.collection.id ) as CollectionIncludingMembersAndLinkCount ); - }, [collections]); + }, [collections, links]); const { removeLink, updateLink } = useLinkStore();