From 3e961cb7894521b3d38852dd608b56a57398c79b Mon Sep 17 00:00:00 2001 From: jinhojang6 Date: Fri, 31 Jan 2020 00:39:44 +0900 Subject: [PATCH] fix a bug and update gitignore --- .gitignore | 3 ++- src/pages/NowPlaying.js | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 8be22a9..e46ca5b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /node_modules /dev -.cache \ No newline at end of file +.cache +/build \ No newline at end of file diff --git a/src/pages/NowPlaying.js b/src/pages/NowPlaying.js index 76b6e4f..215e0dc 100644 --- a/src/pages/NowPlaying.js +++ b/src/pages/NowPlaying.js @@ -15,13 +15,11 @@ class NowPlaying extends Component { const { playStatus, loading } = this.props.player const { img, title, podcast } = this.props.player.track const podcastLoading = playStatus === 'PLAYING' && loading - let podcastImage = '' if (title) { podcastImage = podcasts .filter(p => p.name === podcast)[0] - .img.replace(/100x100/g, '30x30') } return (