Remove useless negation (#10787)

!contentComponent always evaluates to true
feature/default_network_editable
Muhammet Kara 4 years ago committed by GitHub
parent e63fcf1e30
commit ff8dd5f6d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      ui/app/components/app/confirm-page-container/confirm-page-container.component.js

@ -104,8 +104,7 @@ export default class ConfirmPageContainer extends Component {
showAccountInHeader, showAccountInHeader,
origin, origin,
} = this.props; } = this.props;
const renderAssetImage = const renderAssetImage = contentComponent || !identiconAddress;
contentComponent || (!contentComponent && !identiconAddress);
return ( return (
<div className="page-container"> <div className="page-container">

Loading…
Cancel
Save