remember that current song can be an object
This commit is contained in:
parent
3a116e938e
commit
12d0eca2dd
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ import { useCurrentSong } from '/@/renderer/store';
|
|||
export const FullScreenSimilarSongs = () => {
|
||||
const currentSong = useCurrentSong();
|
||||
|
||||
return currentSong ? (
|
||||
return currentSong?.id ? (
|
||||
<SimilarSongsList
|
||||
fullScreen
|
||||
song={currentSong}
|
||||
|
|
Reference in a new issue