1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00

Remove useless negation (#10787)

!contentComponent always evaluates to true
This commit is contained in:
Muhammet Kara 2021-03-31 22:46:29 +03:00 committed by GitHub
parent e63fcf1e30
commit ff8dd5f6d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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