Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
defaultHighlighted(select) {
let {results} = select;
let option = advanceSelectableOption(results, undefined, 1);
if (results.length > 1 && option.__isSuggestion__) {
option = advanceSelectableOption(results, option, 1);
}
return option;
}
defaultHighlighted(select) {
let {results} = select;
let option = advanceSelectableOption(results, undefined, 1);
if (results.length > 1 && option.__isSuggestion__) {
option = advanceSelectableOption(results, option, 1);
}
return option;
}