show nothing if no song exists

This commit is contained in:
Kendall Garner 2024-02-19 09:01:44 -08:00
parent af90d07414
commit c947d09615
No known key found for this signature in database
GPG key ID: 18D2767419676C87

View file

@ -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>