deselect in component

This commit is contained in:
Colin Megill
2017-11-16 21:00:46 -08:00
parent 976fc68b9d
commit b2205c1184
+5 -7
View File
@@ -63,13 +63,11 @@ class Graph extends React.Component {
}) })
} }
handleBrushDeselectAction() { handleBrushDeselectAction() {
// function brushended() { if (!d3.event.selection) {
// if (!d3.event.selection) { this.props.dispatch({
// console.log('graph brush deselect') type: "graph brush deselect"
// } })
// } }
console.log('handle deselect')
} }
componentWillReceiveProps(nextProps) { componentWillReceiveProps(nextProps) {
/* maybe should do a check here to confirm ref exists and pass it? */ /* maybe should do a check here to confirm ref exists and pass it? */