diff options
Diffstat (limited to 'web/src/js/components/EventLog.jsx')
-rw-r--r-- | web/src/js/components/EventLog.jsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/web/src/js/components/EventLog.jsx b/web/src/js/components/EventLog.jsx index 24b3c2bf..58cecd1a 100644 --- a/web/src/js/components/EventLog.jsx +++ b/web/src/js/components/EventLog.jsx @@ -1,5 +1,4 @@ import React, { PropTypes } from 'react' -import { bindActionCreators } from 'redux' import { connect } from 'react-redux' import { toggleEventLogFilter, toggleEventLogVisibility } from '../ducks/eventLog' import { ToggleButton } from './common' @@ -34,8 +33,8 @@ export default connect( filters: state.eventLog.filter, events: state.eventLog.filteredEvents, }), - dispatch => bindActionCreators({ + { onClose: toggleEventLogVisibility, onToggleFilter: toggleEventLogFilter, - }, dispatch) + } )(EventLog) |