We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6306c3 commit c579667Copy full SHA for c579667
arduino-ide-extension/src/browser/components/component-list/filterable-list-container.tsx
@@ -60,7 +60,7 @@ export class FilterableListContainer<T> extends React.Component<FilterableListCo
60
61
protected search (query: string): void {
62
const { searchable } = this.props;
63
- searchable.search({ query }).then(result => {
+ searchable.search({ query: query.trim() }).then(result => {
64
const { items } = result;
65
this.setState({
66
items: this.sort(items)
0 commit comments