mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
fix: Revert issues with cart localization
This commit is contained in:
@@ -28,7 +28,7 @@ export default async function ProductLayout({
|
||||
let cart;
|
||||
|
||||
if (cartId) {
|
||||
cart = await getCart({ cartId, language: locale?.toUpperCase() });
|
||||
cart = await getCart(cartId);
|
||||
}
|
||||
|
||||
return (
|
||||
|
@@ -72,8 +72,6 @@ export default async function ProductPage({
|
||||
language: params?.locale?.toUpperCase()
|
||||
});
|
||||
|
||||
console.debug({ product });
|
||||
|
||||
let otherImages: MediaImage[] = [];
|
||||
if (!!product) {
|
||||
otherImages = product.images
|
||||
|
Reference in New Issue
Block a user