Closed ricardo17coelho closed 10 months ago
If preferCountries are defined, they should be sorted as defined by the array and not alphabetically.
preferCountries
Defined preferCountries are sorted alphabetically
... preferCountries: ['CH', 'IT', 'FR', 'DE', 'AT', 'LI'] ...
@ricardo17coelho Preferred countries will now be ordered using the passed preferCountries prop in v4.1.0 :tada:
v4.1.0
Thx 🙏 @paul-thebaud
Expected Behavior
If
preferCountries
are defined, they should be sorted as defined by the array and not alphabetically.Actual Behavior
Defined
preferCountries
are sorted alphabeticallySteps to Reproduce the Problem