diff --git a/app/src/ui/lib/filter-list.tsx b/app/src/ui/lib/filter-list.tsx index da8d0b78d3..bfe77b73f9 100644 --- a/app/src/ui/lib/filter-list.tsx +++ b/app/src/ui/lib/filter-list.tsx @@ -415,10 +415,6 @@ export class FilterList extends React.Component< } private onFilterValueChanged = (text: string) => { - if (!this.state.filterValueChanged) { - this.setState({ filterValueChanged: true }) - } - if (this.props.onFilterTextChanged) { this.props.onFilterTextChanged(text) } diff --git a/app/src/ui/lib/section-filter-list.tsx b/app/src/ui/lib/section-filter-list.tsx index 641324d928..07231e7263 100644 --- a/app/src/ui/lib/section-filter-list.tsx +++ b/app/src/ui/lib/section-filter-list.tsx @@ -411,10 +411,6 @@ export class SectionFilterList< } private onFilterValueChanged = (text: string) => { - if (!this.state.filterValueChanged) { - this.setState({ filterValueChanged: true }) - } - if (this.props.onFilterTextChanged) { this.props.onFilterTextChanged(text) }