mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
saleor: refactor GraphQL queries
This commit is contained in:
@@ -27,7 +27,7 @@ export const handler = {
|
||||
lineId: itemId,
|
||||
},
|
||||
})
|
||||
return checkoutToCart(data.checkoutLinesUpdate)
|
||||
return checkoutToCart(data.checkoutLineDelete)
|
||||
},
|
||||
useHook:
|
||||
({ fetch }: MutationHookContext<Cart | null, RemoveCartItemBody>) =>
|
||||
|
Reference in New Issue
Block a user