mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
Allow removing line items
This commit is contained in:
@@ -70,11 +70,11 @@ export const handler: SWRHook<GetCartHook> = {
|
||||
},
|
||||
})
|
||||
|
||||
setCartToken(spreeCartCreateSuccessResponse.data.attributes.token)
|
||||
|
||||
spreeCartResponse = spreeCartCreateSuccessResponse
|
||||
}
|
||||
|
||||
setCartToken(spreeCartResponse.data.attributes.token)
|
||||
|
||||
return normalizeCart(spreeCartResponse, spreeCartResponse.data)
|
||||
},
|
||||
useHook:
|
||||
|
Reference in New Issue
Block a user