Changelog.

Fix empty state check to use sortedProducts

Github
Github
platform

Updated the conditional rendering logic to check for the length of sortedProducts instead of products when displaying the NoProducts component. This ensures the empty state is shown correctly based on the sorted product list.