mirror of
https://github.com/desktop/desktop
synced 2024-10-31 11:07:25 +00:00
Stop using onFilterValueChanged
This commit is contained in:
parent
24fb263e18
commit
c4f1547a97
2 changed files with 0 additions and 8 deletions
|
@ -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)
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue