Starting radio process fired the _STARTED inadvertantly

This commit is contained in:
James Barnsley
2017-08-22 08:09:35 +12:00
parent a0a58b0cd8
commit a4e935ce17
4 changed files with 36 additions and 12 deletions

View File

@ -39,11 +39,7 @@ class Discover extends React.Component{
// BAU
} else {
if (this.props.authorized){
this.props.spotifyActions.getFavorites()
} else {
this.getRecommendations()
}
this.props.spotifyActions.getFavorites()
}
}
@ -240,8 +236,8 @@ class Discover extends React.Component{
<div className="liner">
<h1>Explore new music</h1>
<h2 className="grey-text">
Add seeds below to build your sound. Let's start with
{this.props.authorized ? " two of your favorite artists" : " the chill genre"}.
Add seeds below to build your sound
{!this.props.params.seeds ? ". Let's start with two of your favorite artists." : null}
</h2>
{this.renderSeeds()}
</div>