mirror of
				https://github.com/Alamantus/Lexiconga.git
				synced 2025-11-04 10:17:01 +01:00 
			
		
		
		
	Remove console log and comment from updateDisplayedWords
This commit is contained in:
		
							parent
							
								
									d93f86f75f
								
							
						
					
					
						commit
						95629aac72
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
					@ -95,9 +95,7 @@ class App extends Component {
 | 
				
			||||||
          ignoreDiacritics,
 | 
					          ignoreDiacritics,
 | 
				
			||||||
          filteredPartsOfSpeech
 | 
					          filteredPartsOfSpeech
 | 
				
			||||||
        } = searchConfig;
 | 
					        } = searchConfig;
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
        console.log('search config', searchConfig);
 | 
					 | 
				
			||||||
        // displayedWords = words;
 | 
					 | 
				
			||||||
        displayedWords = words.filter((word) => {
 | 
					        displayedWords = words.filter((word) => {
 | 
				
			||||||
          const wordPartOfSpeech = word.partOfSpeech === '' ? 'Uncategorized' : word.partOfSpeech;
 | 
					          const wordPartOfSpeech = word.partOfSpeech === '' ? 'Uncategorized' : word.partOfSpeech;
 | 
				
			||||||
          if (!filteredPartsOfSpeech.includes(wordPartOfSpeech)) {
 | 
					          if (!filteredPartsOfSpeech.includes(wordPartOfSpeech)) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue