From 1660ff88091ec3e863d57e72968276d35b14e7e6 Mon Sep 17 00:00:00 2001 From: David Walsh Date: Wed, 1 May 2024 13:42:38 -0500 Subject: [PATCH] Fix #24322 - Disable edits for all dapp initiated transactions --- .../confirm-page-container/confirm-page-container.component.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/pages/confirmations/components/confirm-page-container/confirm-page-container.component.js b/ui/pages/confirmations/components/confirm-page-container/confirm-page-container.component.js index 82fd617131b7..8f38a1bf0d72 100644 --- a/ui/pages/confirmations/components/confirm-page-container/confirm-page-container.component.js +++ b/ui/pages/confirmations/components/confirm-page-container/confirm-page-container.component.js @@ -60,6 +60,7 @@ import { ///: END:ONLY_INCLUDE_IF import { BlockaidResultType } from '../../../../../shared/constants/security-provider'; +import { ORIGIN_METAMASK } from '../../../../../shared/constants/app'; import { ConfirmPageContainerHeader, ConfirmPageContainerContent, @@ -213,7 +214,7 @@ const ConfirmPageContainer = (props) => { /> ) : ( onEdit()} showAccountInHeader={showAccountInHeader} accountAddress={fromAddress}