fix a bug in nowplaying

This commit is contained in:
jinhojang6 2020-03-21 04:29:37 +09:00
parent 45232ae4b2
commit 0fdfc694e3
No known key found for this signature in database
GPG Key ID: 0E7AA62CB0D9E6F3
1 changed files with 2 additions and 1 deletions

View File

@ -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/>