mirror of
https://github.com/jeffvli/feishin.git
synced 2024-11-20 14:37:06 +01:00
remember that current song can be an object
This commit is contained in:
parent
3a116e938e
commit
12d0eca2dd
@ -4,7 +4,7 @@ import { useCurrentSong } from '/@/renderer/store';
|
|||||||
export const FullScreenSimilarSongs = () => {
|
export const FullScreenSimilarSongs = () => {
|
||||||
const currentSong = useCurrentSong();
|
const currentSong = useCurrentSong();
|
||||||
|
|
||||||
return currentSong ? (
|
return currentSong?.id ? (
|
||||||
<SimilarSongsList
|
<SimilarSongsList
|
||||||
fullScreen
|
fullScreen
|
||||||
song={currentSong}
|
song={currentSong}
|
||||||
|
Loading…
Reference in New Issue
Block a user