diff options
Diffstat (limited to 'web/src/js/components/Header/ViewMenu.jsx')
-rw-r--r-- | web/src/js/components/Header/ViewMenu.jsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/web/src/js/components/Header/ViewMenu.jsx b/web/src/js/components/Header/ViewMenu.jsx index 45359a83..a58b0a16 100644 --- a/web/src/js/components/Header/ViewMenu.jsx +++ b/web/src/js/components/Header/ViewMenu.jsx @@ -1,5 +1,4 @@ import React, { PropTypes } from 'react' -import { bindActionCreators } from 'redux' import { connect } from 'react-redux' import { ToggleButton } from '../common.js' import { toggleEventLogVisibility } from '../../ducks/eventLog' @@ -27,7 +26,7 @@ export default connect( state => ({ visible: state.eventLog.visible, }), - dispatch => bindActionCreators({ + { onToggle: toggleEventLogVisibility, - }, dispatch) + } )(ViewMenu) |