diff --git a/ts/components/conversation/ContactDetail.tsx b/ts/components/conversation/ContactDetail.tsx index 1d1a8741f..4c9812592 100644 --- a/ts/components/conversation/ContactDetail.tsx +++ b/ts/components/conversation/ContactDetail.tsx @@ -73,7 +73,7 @@ export class ContactDetail extends React.Component { }); } - public renderAddressLineIfTruthy(value: string | undefined) { + public renderAddressLine(value: string | undefined) { if (!value) { return; } @@ -117,11 +117,11 @@ export class ContactDetail extends React.Component { return (
{getLabelForAddress(address, i18n)}
- {this.renderAddressLineIfTruthy(address.street)} + {this.renderAddressLine(address.street)} {this.renderPOBox(address.pobox, i18n)} - {this.renderAddressLineIfTruthy(address.neighborhood)} + {this.renderAddressLine(address.neighborhood)} {this.renderAddressLineTwo(address)} - {this.renderAddressLineIfTruthy(address.country)} + {this.renderAddressLine(address.country)}
); });