{gasIsExcessive && this.renderError(true)}
{error && this.renderError()}
{warning && this.renderWarning()}
{this.maybeRenderAddContact()}
{this.props.showHexData && (
)}
);
}
maybeRenderAddContact() {
const { t } = this.context;
const {
isOwnedAccount,
showAddToAddressBookModal,
contact = {},
} = this.props;
if (isOwnedAccount || contact.name) {
return null;
}
return (