show nothing if no song exists
This commit is contained in:
parent
af90d07414
commit
c947d09615
1 changed files with 6 additions and 4 deletions
|
@ -52,10 +52,12 @@ export const SimilarSongsList = ({ count, fullScreen, song }: SimilarSongsListPr
|
|||
};
|
||||
|
||||
return songQuery.isLoading ? (
|
||||
<Spinner
|
||||
container
|
||||
size={25}
|
||||
/>
|
||||
song ? (
|
||||
<Spinner
|
||||
container
|
||||
size={25}
|
||||
/>
|
||||
) : undefined
|
||||
) : (
|
||||
<ErrorBoundary FallbackComponent={ErrorFallback}>
|
||||
<VirtualGridAutoSizerContainer>
|
||||
|
|
Reference in a new issue