diff --git a/src/components/text-and-media-snippet/text-and-media-snippet.jsx b/src/components/text-and-media-snippet/text-and-media-snippet.jsx index 22689d347..692c83856 100644 --- a/src/components/text-and-media-snippet/text-and-media-snippet.jsx +++ b/src/components/text-and-media-snippet/text-and-media-snippet.jsx @@ -17,13 +17,14 @@ const TextAndMediaSnippet = props => (

{props.title}

- {props.children.length > 0 - ?
- {props.children.map(function(paragraph, i){ - return

{paragraph}

; + {props.children.length > 0 ? +
+ {/* eslint-disable */} + {props.children.map((paragraph, i) => { + return

{paragraph}

; })} -
- :

+

: +

{props.children}

}