From c947d09615d8ff4a46b2f1886f841b4d35355539 Mon Sep 17 00:00:00 2001 From: Kendall Garner <17521368+kgarner7@users.noreply.github.com> Date: Mon, 19 Feb 2024 09:01:44 -0800 Subject: [PATCH] show nothing if no song exists --- .../similar-songs/components/similar-songs-list.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/renderer/features/similar-songs/components/similar-songs-list.tsx b/src/renderer/features/similar-songs/components/similar-songs-list.tsx index f319476c..5a7021e8 100644 --- a/src/renderer/features/similar-songs/components/similar-songs-list.tsx +++ b/src/renderer/features/similar-songs/components/similar-songs-list.tsx @@ -52,10 +52,12 @@ export const SimilarSongsList = ({ count, fullScreen, song }: SimilarSongsListPr }; return songQuery.isLoading ? ( - + song ? ( + + ) : undefined ) : (