Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
{group.items.map(item => {
if (item.id) {
return (
<li>
{showSaveButtons &&
<div>
</div>}
</li>
);
} else if (typeof item === 'string') {
return (<li>);</li>
conceptSuffix: '',
concept: {
url: '#',
prefLabel: 'Sexual misconduct allegations'
},
altConcept: {
url: '#',
prefLabel: 'FT Investigations'
},
image: {
url: 'http://prod-upp-image-read.ft.com/a25832ea-0053-11e8-9650-9c0ad2d7c5b5',
width: 2048,
height: 1152
},
indicators: {},
...presets.SmallHeavy
},
{
type: 'article',
id: '',
url: '#',
title: 'Inside charity fundraiser where hostesses are put on show',
altTitle: 'Men Only, the charity fundraiser with hostesses on show',
standfirst:
'FT investigation finds groping and sexual harassment at secretive black-tie dinner',
altStandfirst: 'Groping and sexual harassment at black-tie dinner charity event',
publishedDate: '2018-01-23T15:07:00.000Z',
firstPublishedDate: '2018-01-23T13:53:00.000Z',
conceptPrefix: '',
conceptSuffix: '',
concept: {
url: '#',