saleor: refactor GraphQL queries

This commit is contained in:
Zaiste
2021-05-20 12:03:14 +02:00
parent 5f41b6a057
commit 1959647846
10 changed files with 62 additions and 60 deletions

View File

@@ -27,7 +27,7 @@ export const handler = {
lineId: itemId,
},
})
return checkoutToCart(data.checkoutLinesUpdate)
return checkoutToCart(data.checkoutLineDelete)
},
useHook:
({ fetch }: MutationHookContext<Cart | null, RemoveCartItemBody>) =>