diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-06-15 14:32:03 -0700 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2016-06-15 14:32:03 -0700 |
commit | 848e7c6c50ec928f029382f141e417a22f7d2553 (patch) | |
tree | 00250db3d869465199ada653e2c22c553a3aa5d9 /web/src/js/components/Header.js | |
parent | c7a891b652f4f85877c4dc8ee04fcd45d9e20a74 (diff) | |
download | mitmproxy-848e7c6c50ec928f029382f141e417a22f7d2553.tar.gz mitmproxy-848e7c6c50ec928f029382f141e417a22f7d2553.tar.bz2 mitmproxy-848e7c6c50ec928f029382f141e417a22f7d2553.zip |
web: use implicit bindActionCreators
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) |