Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

minor bug fix

Daniel08140c22aaab
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();