diff options
Diffstat (limited to 'web/src/js/components/Header.js')
-rw-r--r-- | web/src/js/components/Header.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/web/src/js/components/Header.js b/web/src/js/components/Header.js index 8aaa6411..93ca5154 100644 --- a/web/src/js/components/Header.js +++ b/web/src/js/components/Header.js @@ -1,6 +1,5 @@ import React, { Component, PropTypes } from 'react' import { connect } from 'react-redux' -import { bindActionCreators } from 'redux' import classnames from 'classnames' import { toggleEventLogVisibility } from '../ducks/eventLog' import MainMenu from './Header/MainMenu' @@ -62,7 +61,7 @@ export default connect( selectedFlow: state.flows.selected[0], activeMenu: state.ui.activeMenu }), - dispatch => bindActionCreators({ + { setActiveMenu, - }, dispatch) + } )(Header) |