don't search if term is empty
This commit is contained in:
parent
540a527a61
commit
664e969730
1 changed files with 4 additions and 0 deletions
|
@ -72,6 +72,10 @@ export default function WunderBarSuggestions(props: Props) {
|
|||
}
|
||||
|
||||
function handleSelect(value) {
|
||||
if (!value) {
|
||||
return;
|
||||
}
|
||||
|
||||
const includesLbryTvProd = value.includes(WEB_PROD_PREFIX);
|
||||
const includesLbryTvLocal = value.includes(WEB_LOCAL_PREFIX);
|
||||
const includesLbryTvDev = value.includes(WEB_DEV_PREFIX);
|
||||
|
|
Loading…
Reference in a new issue