From 9e7a7995832940051eb079186cd70db8dfcd0aa9 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Fri, 22 Jan 2021 17:32:56 -0330 Subject: [PATCH] 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. --- .../confirm-decrypt-message.component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/pages/confirm-decrypt-message/confirm-decrypt-message.component.js b/ui/app/pages/confirm-decrypt-message/confirm-decrypt-message.component.js index 42325302e..40e4a42e2 100644 --- a/ui/app/pages/confirm-decrypt-message/confirm-decrypt-message.component.js +++ b/ui/app/pages/confirm-decrypt-message/confirm-decrypt-message.component.js @@ -195,7 +195,7 @@ export default class ConfirmDecryptMessage extends Component { {originMetadata?.icon ? ( ) : (