Skip to content

Commit ff8dd5f

Browse files
authored
Remove useless negation (#10787)
!contentComponent always evaluates to true
1 parent e63fcf1 commit ff8dd5f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ui/app/components/app/confirm-page-container/confirm-page-container.component.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@ export default class ConfirmPageContainer extends Component {
104104
showAccountInHeader,
105105
origin,
106106
} = this.props;
107-
const renderAssetImage =
108-
contentComponent || (!contentComponent && !identiconAddress);
107+
const renderAssetImage = contentComponent || !identiconAddress;
109108

110109
return (
111110
<div className="page-container">

0 commit comments

Comments
 (0)