Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 5fe2aa9

Browse files
committed
fix react runtime js error when all products productLink=off: - renderedSalesAndImage is a js var holding react element; - don't surround with (), converts to obj { renderedSalesAndImage: bla }
1 parent 324aea9 commit 5fe2aa9

File tree

1 file changed

+1
-1
lines changed
  • assets/js/atomic/components/product/image

1 file changed

+1
-1
lines changed

assets/js/atomic/components/product/image/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const ProductImage = ( {
8888
{ renderedSalesAndImage }
8989
</a>
9090
) : (
91-
{ renderedSalesAndImage }
91+
renderedSalesAndImage
9292
) }
9393
</div>
9494
);

0 commit comments

Comments
 (0)