Revamping radio notifications; Radio current track

This commit is contained in:
James Barnsley
2018-04-01 21:26:42 +12:00
parent 407a2d3a10
commit fcbfc64ec6
27 changed files with 346 additions and 237 deletions

View File

@ -16,7 +16,7 @@ class DiscoverCategory extends React.Component{
}
componentDidMount(){
this.loadCategory()
this.loadCategory();
}
componentWillReceiveProps(nextProps){
@ -26,7 +26,9 @@ class DiscoverCategory extends React.Component{
}
loadCategory(){
if (!this.props.category || !this.props.category.playlists_uris) this.props.spotifyActions.getCategory(this.props.params.id );
if (!this.props.category || !this.props.category.playlists_uris){
this.props.spotifyActions.getCategory(this.props.params.id);
}
}
loadMore(){