Convert FeaturedContentItem to pass one metadata prop into FileTile
This commit is contained in:
parent
a36dd5cfe4
commit
4bd29ed515
1 changed files with 1 additions and 3 deletions
|
@ -99,9 +99,7 @@ var FeaturedContentItem = React.createClass({
|
|||
}
|
||||
|
||||
return (<div style={featuredContentItemContainerStyle}>
|
||||
<FileTile name={this.props.name} title={this.state.title} imgUrl={this.state.metadata.thumbnail}
|
||||
description={this.state.metadata.description} mediaType={lbry.getMediaType(this.state.metadata.content_type)}
|
||||
nsfw={this.state.metadata.nsfw} compact />
|
||||
<FileTile name={this.props.name} metadata={this.state.metadata} compact />
|
||||
</div>);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue