mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
wip: Fixes
This commit is contained in:
@@ -8,7 +8,7 @@ export function ProductTastingNotes({ product }: { product: Product }) {
|
||||
const imageHeight = product?.notesImage?.reference?.image?.height;
|
||||
const imageAlt = product?.notesImage?.reference?.image?.altText;
|
||||
|
||||
if (!imageUrl && !imageWidth && !imageHeight) {
|
||||
if (!product?.notes || !imageUrl || !imageWidth || !imageHeight) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user