Stop using onFilterValueChanged

This commit is contained in:
Jose Cortinas 2023-08-23 16:35:50 -05:00
parent 24fb263e18
commit c4f1547a97
2 changed files with 0 additions and 8 deletions

View file

@ -415,10 +415,6 @@ export class FilterList<T extends IFilterListItem> extends React.Component<
}
private onFilterValueChanged = (text: string) => {
if (!this.state.filterValueChanged) {
this.setState({ filterValueChanged: true })
}
if (this.props.onFilterTextChanged) {
this.props.onFilterTextChanged(text)
}

View file

@ -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)
}