Remove old design - 'Show QR Code' dropdown menu item from account selection dropdown

feature/default_network_editable
sdtsui 7 years ago
parent 73a593b42e
commit beedd5b11e
  1. 16
      ui/app/components/dropdowns/components/account-dropdowns.js

@ -221,22 +221,6 @@ class AccountDropdowns extends Component {
}, },
'View account on Etherscan', 'View account on Etherscan',
), ),
h(
DropdownMenuItem,
{
closeMenu: () => {},
onClick: () => {
const { selected, identities } = this.props
var identity = identities[selected]
actions.showQrView(selected, identity ? identity.name : '')
},
style: Object.assign(
{},
menuItemStyles,
),
},
'Show QR Code',
),
h( h(
DropdownMenuItem, DropdownMenuItem,
{ {

Loading…
Cancel
Save