Add dynamic message for infinite scroll handler

This commit is contained in:
jeffvli 2023-01-06 13:53:02 -08:00
parent 4d0620c5df
commit cb823d94e5

View file

@ -314,7 +314,7 @@ export const PlaylistDetailContent = ({ tableRef }: PlaylistDetailContentProps)
variant="subtle"
onClick={handleLoadMore}
>
Load more
{playlistSongsQueryInfinite.hasNextPage ? 'Load more' : 'End of playlist'}
</Button>
</MotionGroup>
</ContentContainer>