Skip to content

Commit f621064

Browse files
committed
whoops
1 parent 864a2bf commit f621064

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/routes/(info)/lttstore/products/[handle]/VariantDisplay.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
product.media.find(m => m.id === variant.featured_media!.id)!
3232
) ??
3333
// If only one (or first) color/design option and it wasnt featured, just use the first image
34-
(lowerOptionName.includes("color") || lowerOptionName.includes("design") && vi === 0 && product.media[0])
34+
((lowerOptionName.includes("color") || lowerOptionName.includes("design")) && vi === 0 && product.media[0])
3535
}
3636
<div class={[
3737
"card px-2 py-1 inline-flex m-1 flex-col",

0 commit comments

Comments
 (0)