mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Remove unnecessary optional chain operator (#10256)
This operator is being used under a condition that guarantees that the property is present, so the optional chain operator is useless.
This commit is contained in:
parent
875544e1fe
commit
9e7a799583
@ -195,7 +195,7 @@ export default class ConfirmDecryptMessage extends Component {
|
||||
{originMetadata?.icon ? (
|
||||
<img
|
||||
className="request-decrypt-message__visual-identicon"
|
||||
src={originMetadata?.icon}
|
||||
src={originMetadata.icon}
|
||||
alt=""
|
||||
/>
|
||||
) : (
|
||||
|
Loading…
Reference in New Issue
Block a user