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:
parent
e63fcf1e30
commit
ff8dd5f6d2
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user