diff --git a/ui/pages/confirmations/confirmation/templates/add-ethereum-chain.js b/ui/pages/confirmations/confirmation/templates/add-ethereum-chain.js index c04404a2afa9..3464fd9dbff0 100644 --- a/ui/pages/confirmations/confirmation/templates/add-ethereum-chain.js +++ b/ui/pages/confirmations/confirmation/templates/add-ethereum-chain.js @@ -150,8 +150,6 @@ const MISMATCHED_NETWORK_RPC_CHAIN_ID = { }, }; -const multichainFlag = process.env.CHAIN_PERMISSIONS; - const ERROR_CONNECTING_TO_RPC = { id: 'ERROR_CONNECTING_TO_RPC', severity: Severity.Danger, @@ -252,10 +250,10 @@ function getValues(pendingApproval, t, actions, history, data) { }, ], }, - multichainFlag && { - element: 'BannerAlert', + { + element: process.env.CHAIN_PERMISSIONS && 'BannerAlert', key: 'only-add-networks-you-trust', - children: [ + children: process.env.CHAIN_PERMISSIONS && [ { element: 'Typography', key: 'description',