removed preview repeat

This commit is contained in:
Martina 2021-05-17 15:14:52 -07:00
parent 2c05b259dc
commit 014ae4f724

View File

@ -57,7 +57,7 @@ const STYLES_PLACEHOLDER = css`
export class SlatePreviewRow extends React.Component { export class SlatePreviewRow extends React.Component {
render() { render() {
let objects = this.props.objects; let objects = this.props.objects;
let components = objects.map((each) => ( let components = objects.slice(1).map((each) => (
<div key={each.id} css={STYLES_ITEM_BOX}> <div key={each.id} css={STYLES_ITEM_BOX}>
<SlateMediaObjectPreview <SlateMediaObjectPreview
file={each} file={each}