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 ? (
|
return songQuery.isLoading ? (
|
||||||
<Spinner
|
song ? (
|
||||||
container
|
<Spinner
|
||||||
size={25}
|
container
|
||||||
/>
|
size={25}
|
||||||
|
/>
|
||||||
|
) : undefined
|
||||||
) : (
|
) : (
|
||||||
<ErrorBoundary FallbackComponent={ErrorFallback}>
|
<ErrorBoundary FallbackComponent={ErrorFallback}>
|
||||||
<VirtualGridAutoSizerContainer>
|
<VirtualGridAutoSizerContainer>
|
||||||
|
|
Reference in a new issue