mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
Fix main dropdown animation
This commit is contained in:
parent
5bb075a278
commit
7b3f0ad43d
@ -173,12 +173,12 @@ App.prototype.renderAppBar = function () {
|
||||
width: 16,
|
||||
barHeight: 2,
|
||||
padding: 0,
|
||||
isOpen: props.menuOpen,
|
||||
isOpen: state.isMainMenuOpen,
|
||||
color: 'rgb(247,146,30)',
|
||||
onClick: (event) => {
|
||||
event.preventDefault()
|
||||
event.stopPropagation()
|
||||
this.setState({ isMainMenuOpen: true })
|
||||
this.setState({ isMainMenuOpen: !state.isMainMenuOpen })
|
||||
},
|
||||
}),
|
||||
]),
|
||||
|
Loading…
Reference in New Issue
Block a user