mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Remove old design - 'Show QR Code' dropdown menu item from account selection dropdown
This commit is contained in:
parent
73a593b42e
commit
beedd5b11e
@ -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…
x
Reference in New Issue
Block a user