Update src/components/commentsDisplay/view/commentsDisplayView.js

Co-Authored-By: uğur erdal <ugurerdal93@gmail.com>
This commit is contained in:
Feruz M 2019-11-27 20:05:45 +02:00 committed by GitHub
parent 14d037202b
commit a2a35092ae

View File

@ -28,7 +28,7 @@ class CommentsDisplayView extends PureComponent {
// Component Functions
_handleOnDropdownSelect = (option, index) => {
this.setState({ selectedFilter: option, selectedOptionIndex: ind });
this.setState({ selectedFilter: option, selectedOptionIndex: index });
};
render() {