diff --git a/ui/app/components/app/dropdowns/network-dropdown.js b/ui/app/components/app/dropdowns/network-dropdown.js index 8907fe12a4e9..14c5b66355d4 100644 --- a/ui/app/components/app/dropdowns/network-dropdown.js +++ b/ui/app/components/app/dropdowns/network-dropdown.js @@ -106,7 +106,7 @@ class NetworkDropdown extends Component { return reversedRpcListDetail.map((entry) => { const { rpcUrl, chainId, ticker = 'ETH', nickname = '' } = entry - const currentRpcTarget = ( + const isCurrentRpcTarget = ( provider.type === 'rpc' && rpcUrl === provider.rpcUrl ) @@ -128,15 +128,15 @@ class NetworkDropdown extends Component { }} > { - currentRpcTarget + isCurrentRpcTarget ? :