mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-24 11:46:32 +00:00
Resolved a React warning.
Removed the widget update due to an incorrect manual merge. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
parent
c7bb3abf19
commit
6448b447b3
@ -20,7 +20,7 @@ export class FilterableListContainer<T extends ArduinoComponent> extends React.C
|
||||
};
|
||||
}
|
||||
|
||||
componentWillMount(): void {
|
||||
componentDidMount(): void {
|
||||
this.search = debounce(this.search, 500);
|
||||
this.handleFilterTextChange('');
|
||||
this.props.filterTextChangeEvent(this.handleFilterTextChange.bind(this));
|
||||
@ -33,7 +33,6 @@ export class FilterableListContainer<T extends ArduinoComponent> extends React.C
|
||||
}
|
||||
|
||||
render(): React.ReactNode {
|
||||
this.props.container.update(); // This will recalculate the desired dimension of the scroll-bar thumb. (See: arduino/arduino-pro-ide#101)
|
||||
return <div className={'filterable-list-container'}>
|
||||
{this.renderSearchFilter()}
|
||||
{this.renderSearchBar()}
|
||||
|
Loading…
x
Reference in New Issue
Block a user