Skip to content

Conversation

excidence
Copy link

@excidence excidence commented Jan 13, 2025

This commit fixes:

  1. possible blank pages when paginating to the end and applying filters afterwards (e.g. last page + "out of stock" filter), by resetting pagination.
  2. mutating the search params in the getSortLink function, briefly breaking SortMenu label (or expected .get() value) until after navigation when useSearchParams is back on track.

Also adds prefetch behavior to SortMenu items.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant