Skip to content

Commit

Permalink
feat: remove params for use delete cart query
Browse files Browse the repository at this point in the history
  • Loading branch information
field123 committed May 1, 2024
1 parent 3039c11 commit db65696
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,9 @@ import { useMutation, UseMutationOptions } from "@tanstack/react-query"
import { useElasticPath } from "../../elasticpath"
import { CartItemsResponse } from "@moltin/sdk"

type CartDeleteCartItemsReq = {}

export const useDeleteCartItems = (
cartId: string,
options?: UseMutationOptions<
CartItemsResponse,
Error,
CartDeleteCartItemsReq
>,
options?: UseMutationOptions<CartItemsResponse, Error>,
) => {
const { client } = useElasticPath()
return useMutation({
Expand Down

0 comments on commit db65696

Please sign in to comment.