Tracks not being passed through properly.
farishkash opened this issue · comments
Farish Kashefinejad commented
Is this not finished?
render() {
return (
<div className="Track">
<div className="Track-information">
<h3>{/* track name will go here */}</h3>
<p>{/* track artist will go here */} | {/* track album will go here */}</p>
</div>
{this.renderAction()}
</div>
);
}
}
The h3 and p should be changed to
<h3>{this.props.track.name}</h3>
<p>{this.props.track.artist} | {this.props.track.album}</p>
And it works on the searchResults after this change.
biz man commented
Thanks @farishkash, the changes have been made.