1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Fix main dropdown animation

This commit is contained in:
Dan Finlay 2016-07-11 11:33:12 -07:00
parent 5bb075a278
commit 7b3f0ad43d

View File

@ -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 })
},
}),
]),