diff --git a/store/links.ts b/store/links.ts index d4b27b5..e191e25 100644 --- a/store/links.ts +++ b/store/links.ts @@ -186,7 +186,7 @@ const useLinkStore = create()((set) => ({ if (response.ok) { set((state) => ({ - links: state.links.filter((e) => !linkIds.includes(e.id)), + links: state.links.filter((e) => !linkIds.includes(e.id as number)), })); useTagStore.getState().setTags(); useCollectionStore.getState().setCollections();