Skip to content

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

small fix

Danieleb2464db20b9
diff --git a/store/collections.ts b/store/collections.ts
index c180e6dc..c0c0663b 100644
--- a/store/collections.ts
+++ b/store/collections.ts
@@ -6,6 +6,7 @@
import { create } from "zustand";
import { ExtendedCollection, NewCollection } from "@/types/global";
import useTagStore from "./tags";
+import useLinkStore from "./links";
type CollectionStore = {
collections: ExtendedCollection[];
@@ -86,6 +87,7 @@ const useCollectionStore = create<CollectionStore>()((set) => ({
collections: state.collections.filter((e) => e.id !== id),
}));
useTagStore.getState().setTags();
+ useLinkStore.getState().setLinks();
}
return response.ok;