mirror of
https://github.com/vercel/commerce.git
synced 2025-06-06 16:26:59 +00:00
refactor: small cleanup
This commit is contained in:
parent
8d0f25f501
commit
f8747bd506
@ -13,7 +13,6 @@ export default function DeleteItemButton({ item }: { item: CartItem }) {
|
||||
async function handleRemove() {
|
||||
setRemoving(true);
|
||||
|
||||
console.log(item.id);
|
||||
const response = await fetch(`/api/cart?lineItemId=${item.id}`, {
|
||||
method: 'DELETE'
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user