Setting up search.io on a website built with Next.js using the Sajari React library. I have everything working and rendering results with a summary and pagination.
When clicking on a page in the pagination component it resets the query back to blank. I checked the query in React dev tools and it seems to persist on page navigation, but as soon as pagination is clicked it resets the queryVariables (not the query). I looked through the documentation several times and used their code examples, but no luck. It seems like something wasn't getting stored in context in the search provider.