mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
feat: implemented most cart operations
This commit is contained in:
@@ -42,7 +42,7 @@ export function AddToCart({
|
||||
const response = await fetch(`/api/cart`, {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({
|
||||
merchandiseId: selectedVariantId
|
||||
variantId: selectedVariantId
|
||||
})
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user