remember that current song can be an object

This commit is contained in:
Kendall Garner 2024-02-19 10:27:00 -08:00
parent 3a116e938e
commit 12d0eca2dd
No known key found for this signature in database
GPG Key ID: 18D2767419676C87

View File

@ -4,7 +4,7 @@ import { useCurrentSong } from '/@/renderer/store';
export const FullScreenSimilarSongs = () => {
const currentSong = useCurrentSong();
return currentSong ? (
return currentSong?.id ? (
<SimilarSongsList
fullScreen
song={currentSong}