Skip to content

Commit ba36452

Browse files
committed
remove redundant code (handled in finally block)
1 parent 12bbb89 commit ba36452

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

packages/scripts/dist/freshaddress.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,5 @@ export class FreshAddress {
273273
ENGrid.setError(this.emailWrapper, `This email address is not valid. Did you mean ${res.email_corrections[0]}?`);
274274
}
275275
}
276-
window.FreshAddressStatus = "idle";
277-
ENGrid.enableSubmit();
278276
}
279277
}

packages/scripts/src/freshaddress.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,5 @@ export class FreshAddress {
311311
);
312312
}
313313
}
314-
315-
window.FreshAddressStatus = "idle";
316-
ENGrid.enableSubmit();
317314
}
318315
}

0 commit comments

Comments
 (0)