Skip to content

Commit 5b3c6f0

Browse files
committed
Remove unnecessary island
1 parent 679f799 commit 5b3c6f0

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

dotcom-rendering/src/lib/renderElement.tsx

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -507,18 +507,11 @@ export const renderElement = ({
507507
*/
508508
if (element.videoPlayerFormat === 'Loop') {
509509
return (
510-
<>
511-
<Island
512-
priority="critical"
513-
defer={{ until: 'visible' }}
514-
>
515-
<LoopVideoInArticle
516-
element={element}
517-
format={format}
518-
isMainMedia={isMainMedia}
519-
/>
520-
</Island>
521-
</>
510+
<LoopVideoInArticle
511+
element={element}
512+
format={format}
513+
isMainMedia={isMainMedia}
514+
/>
522515
);
523516
} else {
524517
return (

0 commit comments

Comments
 (0)