mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-10 13:14:04 +03:00
removed preview repeat
This commit is contained in:
parent
2c05b259dc
commit
014ae4f724
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user