ywana-core8 0.0.979 → 0.0.980

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -2686,7 +2686,7 @@ var TokenField = function TokenField(_ref) {
2686
2686
  var sortedOptions = options ? options.toSorted(function (a, b) {
2687
2687
  if (!a.label || !b.label) return 0;
2688
2688
  try {
2689
- return a.label + "".localeCompare(b.label + "");
2689
+ return a.label.localeCompare(b.label);
2690
2690
  } catch (error) {
2691
2691
  console.log('Error sorting options', error, a, b);
2692
2692
  return 0;