@saasquatch/mint-components 1.8.0-91 → 1.8.0-92

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.
@@ -1497,7 +1497,7 @@ function useBankingInfoForm(props) {
1497
1497
  ...new Set(topCountries.concat((_g = Array.from(availableCountries)) === null || _g === void 0 ? void 0 : _g.map((country) => {
1498
1498
  return getCountryObj(country);
1499
1499
  }).sort((a, b) => {
1500
- return a < b ? -1 : 1;
1500
+ return a.name < b.name ? -1 : 1;
1501
1501
  }))),
1502
1502
  ];
1503
1503
  const hasPayPal = !!(paymentOptions === null || paymentOptions === void 0 ? void 0 : paymentOptions.find((option) => option.defaultFinancePaymentMethodId === PAYPAL_PAYMENT_METHOD));
@@ -318,7 +318,7 @@ export function useBankingInfoForm(props) {
318
318
  ...new Set(topCountries.concat((_g = Array.from(availableCountries)) === null || _g === void 0 ? void 0 : _g.map((country) => {
319
319
  return getCountryObj(country);
320
320
  }).sort((a, b) => {
321
- return a < b ? -1 : 1;
321
+ return a.name < b.name ? -1 : 1;
322
322
  }))),
323
323
  ];
324
324
  const hasPayPal = !!(paymentOptions === null || paymentOptions === void 0 ? void 0 : paymentOptions.find((option) => option.defaultFinancePaymentMethodId === PAYPAL_PAYMENT_METHOD));
@@ -1493,7 +1493,7 @@ function useBankingInfoForm(props) {
1493
1493
  ...new Set(topCountries.concat((_g = Array.from(availableCountries)) === null || _g === void 0 ? void 0 : _g.map((country) => {
1494
1494
  return getCountryObj(country);
1495
1495
  }).sort((a, b) => {
1496
- return a < b ? -1 : 1;
1496
+ return a.name < b.name ? -1 : 1;
1497
1497
  }))),
1498
1498
  ];
1499
1499
  const hasPayPal = !!(paymentOptions === null || paymentOptions === void 0 ? void 0 : paymentOptions.find((option) => option.defaultFinancePaymentMethodId === PAYPAL_PAYMENT_METHOD));