A number of performance tweaks

This commit is contained in:
Scott Nonnenberg 2019-09-06 12:16:54 -07:00
parent 07689379cb
commit e011589a5e
3 changed files with 29 additions and 28 deletions

View file

@ -516,7 +516,7 @@
findAndFormatContact(phoneNumber) {
const contactModel = this.findContact(phoneNumber);
if (contactModel) {
return contactModel.getProps();
return contactModel.format();
}
const { format } = PhoneNumber;