atlas
atlas copied to clipboard
Add YPP referral pagination
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