Appease the linter by turning it off
This commit is contained in:
parent
f2c41a5da7
commit
5c2841323e
9 changed files with 9 additions and 9 deletions
|
@ -268,7 +268,7 @@ class FilteredList extends React.PureComponent {
|
|||
}
|
||||
|
||||
// TODO: [REACT-WARNING] Replace with appropriate lifecycle event
|
||||
UNSAFE_componentWillReceiveProps(nextProps) {
|
||||
UNSAFE_componentWillReceiveProps(nextProps) { // eslint-disable-line camelcase
|
||||
if (this.props.children === nextProps.children && this.props.query === nextProps.query) return;
|
||||
this.setState({
|
||||
filteredChildren: FilteredList.filterChildren(nextProps.children, nextProps.query),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue