diff options
Diffstat (limited to 'web/src/js/components/FlowTable/FlowTableHead.jsx')
-rw-r--r-- | web/src/js/components/FlowTable/FlowTableHead.jsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/web/src/js/components/FlowTable/FlowTableHead.jsx b/web/src/js/components/FlowTable/FlowTableHead.jsx index a46219d1..1df38aba 100644 --- a/web/src/js/components/FlowTable/FlowTableHead.jsx +++ b/web/src/js/components/FlowTable/FlowTableHead.jsx @@ -1,5 +1,4 @@ import React, { PropTypes } from 'react' -import { bindActionCreators } from 'redux' import { connect } from 'react-redux' import classnames from 'classnames' import columns from './FlowColumns' @@ -37,7 +36,7 @@ export default connect( sortDesc: state.flows.sort.sortDesc, sortColumn: state.flows.sort.sortColumn, }), - dispatch => bindActionCreators({ + { onSort: setSort, - }, dispatch) + } )(FlowTableHead) |