atlas icon indicating copy to clipboard operation
atlas copied to clipboard

Add YPP referral pagination

Open DzhideX opened this issue 1 month ago • 0 comments

This PR aims to fix the issue described here: https://github.com/Joystream/atlas/issues/6502

In the other hooks that implement this functionality, the pagination was done in the fetch directly through GraphQL. Since this fetches all of the referrals at once, I implemented the pagination functionality within the hook itself after the data is fetched. I also added sorting to show the latest referrals first.

cc @Lezek123

DzhideX avatar Jan 22 '25 09:01 DzhideX