Fix search shorthand
This commit is contained in:
parent
ac8839ec67
commit
408635f255
@ -135,7 +135,7 @@ const App = (_props) => {
|
||||
};
|
||||
|
||||
const handleSearch = (direction: SearchDirection) => {
|
||||
const searchTerm = convertSearchBoxShorthand(searchBoxInput, conlang);
|
||||
const searchTerm = direction === SearchDirection.ToEnglish ? convertSearchBoxShorthand(searchBoxInput, conlang) : searchBoxInput;
|
||||
if (searchTerm === "") {
|
||||
setSearchResults(null);
|
||||
setSearchTerm(null);
|
||||
|
Loading…
Reference in New Issue
Block a user