rebuilt derived files

This commit is contained in:
or-else
2018-08-25 16:48:40 +03:00
parent 4aadff8ab3
commit d178803d86
3 changed files with 3 additions and 10 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -8
View File
@@ -2466,14 +2466,7 @@ class NewTopicView extends React.Component {
this.props.onInitFind();
}
componentWillReceiveProps_DISABLED(props) {
this.setState({
searchQuery: props.contactsSearchQuery,
contactList: props.foundContacts
});
}
static getDerivedStateFromProps(nextProps, prevState){
static getDerivedStateFromProps(nextProps, prevState) {
return {
searchQuery: nextProps.contactsSearchQuery,
contactList: nextProps.foundContacts
+1 -1
View File
File diff suppressed because one or more lines are too long