diff --git a/frontend/src/features/songs/components/SongItemList.tsx b/frontend/src/features/songs/components/SongItemList.tsx index c662731bf..1959a34d4 100644 --- a/frontend/src/features/songs/components/SongItemList.tsx +++ b/frontend/src/features/songs/components/SongItemList.tsx @@ -15,7 +15,7 @@ interface SongItemListProps { const SongItemList = ({ genre }: SongItemListProps) => { const { data: songs } = useFetch(() => getHighLikedSongs(genre)); - if (songs?.length === 0) return; + if (songs === null || songs?.length === 0) return; return ( <>