mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
Add dynamic message for infinite scroll handler
This commit is contained in:
@@ -314,7 +314,7 @@ export const PlaylistDetailContent = ({ tableRef }: PlaylistDetailContentProps)
|
|||||||
variant="subtle"
|
variant="subtle"
|
||||||
onClick={handleLoadMore}
|
onClick={handleLoadMore}
|
||||||
>
|
>
|
||||||
Load more
|
{playlistSongsQueryInfinite.hasNextPage ? 'Load more' : 'End of playlist'}
|
||||||
</Button>
|
</Button>
|
||||||
</MotionGroup>
|
</MotionGroup>
|
||||||
</ContentContainer>
|
</ContentContainer>
|
||||||
|
|||||||
Reference in New Issue
Block a user