Skip to content

Commit

Permalink
fixes #56 (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
faizanu94 committed Jun 16, 2022
1 parent c437255 commit 3c556f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/filters/language-filter/index.js
Expand Up @@ -118,7 +118,7 @@ class LanguageFilter extends React.Component {
selectLanguage = (selectedIndex) => {
const filteredLanguages = this.getFilteredLanguages();
const selectedLanguage = filteredLanguages[selectedIndex];
if (!selectedLanguage) {
if (!selectedLanguage || selectedLanguage.value === this.props.selectedLanguage) {
return;
}

Expand Down

0 comments on commit 3c556f6

Please sign in to comment.