1
0
Fork 0
mirror of https://github.com/Alamantus/Lexiconga.git synced 2025-05-02 00:03:01 +02:00

Remove console log and comment from updateDisplayedWords

This commit is contained in:
Robbie Antenesse 2017-12-22 12:27:01 -07:00
parent d93f86f75f
commit 95629aac72

View file

@ -95,9 +95,7 @@ class App extends Component {
ignoreDiacritics,
filteredPartsOfSpeech
} = searchConfig;
console.log('search config', searchConfig);
// displayedWords = words;
displayedWords = words.filter((word) => {
const wordPartOfSpeech = word.partOfSpeech === '' ? 'Uncategorized' : word.partOfSpeech;
if (!filteredPartsOfSpeech.includes(wordPartOfSpeech)) {