Skip to content

Commit 9118f87

Browse files
committed
removing binding
1 parent 591f103 commit 9118f87

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

client/app/components/RouterCommentScreen.jsx

-7
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,13 @@ import CommentScreen from './CommentScreen';
33
import { connect } from 'react-redux';
44
import { bindActionCreators } from 'redux';
55
import * as commentsActionCreators from '../actions/commentsActionCreators';
6-
import _ from 'lodash';
76

87
function select(state) {
98
// Which part of the Redux global state does our component want to receive as props?
109
return { data: state.$$commentsStore };
1110
}
1211

1312
class RouterCommentScreen extends React.Component {
14-
constructor(props, context) {
15-
super(props, context);
16-
17-
_.bindAll(this, '_renderNotification');
18-
}
19-
2013
static propTypes = {
2114
dispatch: PropTypes.func.isRequired,
2215
data: PropTypes.object.isRequired,

0 commit comments

Comments
 (0)