mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
Ensure proper hover display for accounts in main menu (#9575)
This commit is contained in:
parent
2563180a88
commit
674107da3f
@ -179,7 +179,7 @@ export default class AccountMenu extends Component {
|
||||
|
||||
return (
|
||||
<div
|
||||
className="account-menu__account menu__item--clickable"
|
||||
className="account-menu__account account-menu__item--clickable"
|
||||
onClick={() => {
|
||||
this.context.metricsEvent({
|
||||
eventOpts: {
|
||||
|
@ -88,7 +88,7 @@ describe('Account Menu', function () {
|
||||
})
|
||||
|
||||
it('simulate click', function () {
|
||||
const click = wrapper.find('.account-menu__account.menu__item--clickable')
|
||||
const click = wrapper.find('.account-menu__account.account-menu__item--clickable')
|
||||
click.first().simulate('click')
|
||||
|
||||
assert(props.showAccountDetail.calledOnce)
|
||||
|
Loading…
Reference in New Issue
Block a user