diff --git a/src/components/SpotifyPlayer.tsx b/src/components/SpotifyPlayer.tsx index 6a5cd01..dd44b39 100644 --- a/src/components/SpotifyPlayer.tsx +++ b/src/components/SpotifyPlayer.tsx @@ -184,8 +184,7 @@ export function SpotifyPlayer(): ReactElement | null { const currentlyPlaying = usePlayerState('currently-playing') const lastPlayed = usePlayerState('last-played') - if (currentlyPlaying.isError) return null - if (lastPlayed.isError) return null + if (currentlyPlaying.isError || lastPlayed.isError) return null return (