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 ? (
song ? (
<Spinner
container
size={25}
/>
) : undefined
) : (
<ErrorBoundary FallbackComponent={ErrorFallback}>
<VirtualGridAutoSizerContainer>