fix a bug in nowplaying
This commit is contained in:
parent
45232ae4b2
commit
0fdfc694e3
|
@ -10,6 +10,7 @@ class NowPlaying extends Component {
|
|||
render() {
|
||||
const { playStatus, loading } = this.props.player
|
||||
const { img, title, podcast } = this.props.player.track
|
||||
console.log(podcast)
|
||||
const podcastLoading = playStatus === 'PLAYING' && loading
|
||||
let podcastImage = ''
|
||||
|
||||
|
@ -41,7 +42,7 @@ class NowPlaying extends Component {
|
|||
</div>
|
||||
|
||||
<div className='NowPlaying-info'>
|
||||
<h4>{podcast}</h4>
|
||||
<h4>{podcast.title}</h4>
|
||||
</div>
|
||||
<br/>
|
||||
<br/>
|
||||
|
|
Loading…
Reference in New Issue