Skip to content

Commit

Permalink
fix: Fix type in the useAddBookmarkToList hook
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedBassem committed Apr 9, 2024
1 parent fe13408 commit cae543c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared-react/hooks/lists.ts
Original file line number Diff line number Diff line change
@@ -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({
Expand Down

0 comments on commit cae543c

Please sign in to comment.