File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ export const ProductElement = ({
6969 product . displayType === 'inline-and-product-card' ;
7070
7171 return (
72- < div data-spacefinder-role = "nested" >
72+ < div >
7373 { showContent && (
7474 < Content
7575 product = { product }
@@ -88,6 +88,9 @@ export const ProductElement = ({
8888 primaryCTA = { product . primaryCta }
8989 secondaryCTA = { product . secondaryCta }
9090 secondaryUrl = { product . secondaryProductUrl }
91+ altText = { product . altText }
92+ credit = { product . credit }
93+ displayCredit = { product . displayCredit }
9194 statistics = { product . statistics }
9295 isCardOnly = { product . displayType === 'product-card-only' }
9396 />
@@ -116,7 +119,7 @@ const Content = ({
116119 ? subheadingHtml . textContent . trim ( ) . length > 0
117120 : false ;
118121 return (
119- < >
122+ < div data-spacefinder-role = "nested" >
120123 { isSubheading &&
121124 Array . from ( subheadingHtml . childNodes ) . map (
122125 buildElementTree ( format ) ,
@@ -150,6 +153,6 @@ const Content = ({
150153 />
151154 ) ) }
152155 </ div >
153- </ >
156+ </ div >
154157 ) ;
155158} ;
You can’t perform that action at this time.
0 commit comments