mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
show nothing if no song exists
This commit is contained in:
@@ -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 New Issue
Block a user