Skip to content

Avoid resetting the hasMorePages flag when fetching new items in HookedMarketWithCurrencySelector#1169

Merged
gciotola merged 1 commit into
mainfrom
fix/651-market-with-currency-selector
Jun 25, 2026
Merged

Avoid resetting the hasMorePages flag when fetching new items in HookedMarketWithCurrencySelector#1169
gciotola merged 1 commit into
mainfrom
fix/651-market-with-currency-selector

Conversation

@gciotola

@gciotola gciotola commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Related to commercelayer/issues-app#651

In HookedMarketWithCurrencySelector , hasMorePages flag was being set to false when fetching items with less that 25 results.
This was causing the component to re-render in not-async mode.

@netlify

netlify Bot commented Jun 25, 2026

Copy link
Copy Markdown

Deploy Preview for commercelayer-app-elements ready!

Name Link
🔨 Latest commit ed9d48e
🔍 Latest deploy log https://app.netlify.com/projects/commercelayer-app-elements/deploys/6a3d3ab4edac6f0008272dd5
😎 Deploy Preview https://deploy-preview-1169--commercelayer-app-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@gciotola gciotola self-assigned this Jun 25, 2026
@gciotola gciotola added the bug Something isn't working label Jun 25, 2026
@gciotola gciotola changed the title fix: prevent resetting hasMorePages flag when fetching new items in HookedMarketWithCurrencySelector Avoid resetting the hasMorePages flag when fetching new items in HookedMarketWithCurrencySelector Jun 25, 2026
@gciotola gciotola requested review from malessani and pfferrari June 25, 2026 14:34
@gciotola gciotola merged commit 5412653 into main Jun 25, 2026
7 of 8 checks passed
@gciotola gciotola deleted the fix/651-market-with-currency-selector branch June 25, 2026 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants