From cb823d94e55867f818c52d673f9bdd24f078830f Mon Sep 17 00:00:00 2001 From: jeffvli Date: Fri, 6 Jan 2023 13:53:02 -0800 Subject: [PATCH] Add dynamic message for infinite scroll handler --- .../features/playlists/components/playlist-detail-content.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/features/playlists/components/playlist-detail-content.tsx b/src/renderer/features/playlists/components/playlist-detail-content.tsx index f3ac5cfc..856727a8 100644 --- a/src/renderer/features/playlists/components/playlist-detail-content.tsx +++ b/src/renderer/features/playlists/components/playlist-detail-content.tsx @@ -314,7 +314,7 @@ export const PlaylistDetailContent = ({ tableRef }: PlaylistDetailContentProps) variant="subtle" onClick={handleLoadMore} > - Load more + {playlistSongsQueryInfinite.hasNextPage ? 'Load more' : 'End of playlist'}