mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-02 10:53:33 +00:00
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 ? (
|
||||||
|
song ? (
|
||||||
<Spinner
|
<Spinner
|
||||||
container
|
container
|
||||||
size={25}
|
size={25}
|
||||||
/>
|
/>
|
||||||
|
) : undefined
|
||||||
) : (
|
) : (
|
||||||
<ErrorBoundary FallbackComponent={ErrorFallback}>
|
<ErrorBoundary FallbackComponent={ErrorFallback}>
|
||||||
<VirtualGridAutoSizerContainer>
|
<VirtualGridAutoSizerContainer>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue