File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
dotcom-rendering/src/components/Card Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -785,11 +785,7 @@ export const Card = ({
785785 ) ;
786786
787787 if ( sublinkPosition === 'outer' ) {
788- return (
789- < >
790- < Sublinks />
791- </ >
792- ) ;
788+ return < Sublinks /> ;
793789 }
794790
795791 return (
@@ -1249,7 +1245,7 @@ export const Card = ({
12491245 flex-grow : 1 ;
12501246 ` }
12511247 >
1252- { /* why is this needed, sublinks ? */ }
1248+ { /* why is this needed, to hide the headline if we're in the splash ? */ }
12531249 { storylinesStyle && isFlexSplash
12541250 ? null
12551251 : headlinePosition === 'inner' && (
@@ -1282,6 +1278,12 @@ export const Card = ({
12821278 }
12831279 showLabsRedesign = { showLabsRedesign }
12841280 />
1281+ { ! isUndefined ( starRating ) ? (
1282+ < StarRatingComponent
1283+ rating = { starRating }
1284+ cardHasImage = { ! ! image }
1285+ />
1286+ ) : null }
12851287 </ HeadlineWrapper >
12861288 ) }
12871289
You can’t perform that action at this time.
0 commit comments