Loading More Posts
Unanswered
Pond loach posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/0.png)
Pond loachOP
I have built a headless wordpress site in next js, and have used this piece of code https://dev.to/franadev/pagination-in-headless-wordpress-with-wpgraphql-apollo-nextjs-3n3e to build a lazy load system, I can see that its pulling through the data in the network tab, but in the front end nothing is happening and the button just sits on loading, I had to do some edits to this file to get it working with an apollo provider tag etc. https://pastebin.com/rUeXr2DS is the component ive made, is there something im missing to get that content to show?
1 Reply
![Avatar](https://cdn.discordapp.com/embed/avatars/0.png)
Pond loachOP
this is the wrapper component around it that sticks the apollo provider
![Image](https://cdn.discordapp.com/attachments/1206584418878103593/1206585343483060367/Screenshot_2024-02-12_at_12.59.15.png?ex=65dc8b2b&is=65ca162b&hm=98afd9aff4b3553f28ef9e44085d67b5402b5402190882658c40162a7313d024&)