A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
fix: Fix type in the useAddBookmarkToList hook
MohamedBassemcae543c62786
diff --git a/packages/shared-react/hooks/lists.ts b/packages/shared-react/hooks/lists.tsindex f4b19c3c..d5654f9f 100644--- a/packages/shared-react/hooks/lists.ts+++ b/packages/shared-react/hooks/lists.ts@@ -1,7 +1,7 @@import { api } from "../trpc";export function useAddBookmarkToList(- ...opts: Parameters<typeof api.lists.removeFromList.useMutation>+ ...opts: Parameters<typeof api.lists.addToList.useMutation>) {const apiUtils = api.useUtils();return api.lists.addToList.useMutation({