@credithub/harlan-components 1.37.3 → 1.37.6

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.
@@ -34,11 +34,7 @@ var byDate = function (protesto, protesto2) {
34
34
  var _a, _b;
35
35
  var v0 = ((_a = formatDatePtBrToDate(XPathUtils.select('string(./dataProtesto)', protesto2))) === null || _a === void 0 ? void 0 : _a.getTime()) || 0;
36
36
  var v1 = ((_b = formatDatePtBrToDate(XPathUtils.select('string(./dataProtesto)', protesto))) === null || _b === void 0 ? void 0 : _b.getTime()) || 0;
37
- if (v0 > v1)
38
- return 1;
39
- if (v0 < v1)
40
- return -1;
41
- return 0;
37
+ return v0 - v1;
42
38
  };
43
39
  var Protestos = function () {
44
40
  var ctx = useContext(Queries.Protestos);