aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/components/MainView.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/js/components/MainView.jsx')
-rw-r--r--web/src/js/components/MainView.jsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/web/src/js/components/MainView.jsx b/web/src/js/components/MainView.jsx
index eb15af8a..8c6ed6d0 100644
--- a/web/src/js/components/MainView.jsx
+++ b/web/src/js/components/MainView.jsx
@@ -1,6 +1,5 @@
import React, { Component, PropTypes } from 'react'
import { connect } from 'react-redux'
-import { bindActionCreators } from 'redux'
import { FlowActions } from '../actions.js'
import { Query } from '../actions.js'
import { Key } from '../utils.js'
@@ -189,11 +188,11 @@ export default connect(
highlight: state.flows.highlight,
selectedFlow: state.flows.all.byId[state.flows.selected[0]]
}),
- dispatch => bindActionCreators({
+ {
selectFlow,
setFilter,
setHighlight,
- }, dispatch),
+ },
undefined,
{ withRef: true }
)(MainView)