Add dynamic message for infinite scroll handler
This commit is contained in:
parent
4d0620c5df
commit
cb823d94e5
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Reference in a new issue