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