@credithub/harlan-components 1.95.1 → 1.95.3

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.
@@ -240,6 +240,11 @@ export var Instrumento = function (_a) {
240
240
  switch (_a.label) {
241
241
  case 0:
242
242
  setIsLoading(true);
243
+ if (/^35/.test(nm_chave)) {
244
+ openFormThenRedirect(nm_chave, cpfCnpj);
245
+ setIsLoading(false);
246
+ return [2 /*return*/];
247
+ }
243
248
  _a.label = 1;
244
249
  case 1:
245
250
  _a.trys.push([1, 4, 5, 6]);
@@ -257,10 +262,6 @@ export var Instrumento = function (_a) {
257
262
  return [3 /*break*/, 6];
258
263
  case 4:
259
264
  e_1 = _a.sent();
260
- if (/^35/.test(nm_chave)) {
261
- openFormThenRedirect(nm_chave, cpfCnpj);
262
- return [2 /*return*/];
263
- }
264
265
  console.error(e_1);
265
266
  setError(true);
266
267
  return [3 /*break*/, 6];