hasNextPage is always false in useProductSearch

Hi everyone,

After upgrading my mini to the latest SDK version I noticed that useProductSearch is always returning hasNextPage = false regardless the query, which prevents my mini from loading any more products than what I have assigned in first.

Any idea why or how to fix this?
thanks!

Packages:
    @shopify/shop-minis-cli: 0.3.3
    @shopify/shop-minis-react: 0.13.0
    react: 18.2.0

Hi @adham7ibrahim !

Thanks for reporting, the team will look into this.

1 Like

Hi @adham7ibrahim

Thanks for reporting this once again.

I would like to inform you that the issue is fixed now and you should get hasNextPage and endCursor values correctly in the response now.

Thanks!

1 Like