From 8edf916fbaa1b700c1e02fc732100b4ae8f76a64 Mon Sep 17 00:00:00 2001 From: r-freeman Date: Fri, 6 Jan 2023 23:24:10 +0000 Subject: [PATCH] Removed redundant code from SpotifyPlayer --- src/components/SpotifyPlayer.jsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/components/SpotifyPlayer.jsx b/src/components/SpotifyPlayer.jsx index fce1960..e3872f9 100644 --- a/src/components/SpotifyPlayer.jsx +++ b/src/components/SpotifyPlayer.jsx @@ -154,12 +154,6 @@ Song.Skeleton = function SongSkeleton({as: Component = 'div'}) { ) } -function CurrentlyPlaying(props) { - return ( - - ) -} - function LastPlayed() { const {song, isLoading, isError} = usePlayerState('last-played') @@ -186,7 +180,7 @@ export function SpotifyPlayer() { {isLoading ? : song?.isPlaying - ? + ? : }