Skip to content

Commit

Permalink
Fix #24322 - Disable edits for all dapp initiated transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
darkwing committed May 1, 2024
1 parent f2ec444 commit 669a250
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ import {
ConfirmPageContainerContent,
ConfirmPageContainerNavigation,
} from '.';
import { ORIGIN_METAMASK } from '../../../../../shared/constants/app';

const ConfirmPageContainer = (props) => {
const {
Expand Down Expand Up @@ -213,7 +214,7 @@ const ConfirmPageContainer = (props) => {
/>
) : (
<ConfirmPageContainerHeader
showEdit={showEdit}
showEdit={origin === ORIGIN_METAMASK ? showEdit : false}
onEdit={() => onEdit()}
showAccountInHeader={showAccountInHeader}
accountAddress={fromAddress}
Expand Down

0 comments on commit 669a250

Please sign in to comment.