archiving works, refactored UNSAFE_componentWillReceiveProps in chips-input
This commit is contained in:
@@ -53,10 +53,13 @@ export default class ContactsView extends React.Component {
|
||||
|
||||
updateFavicon(unreadThreads);
|
||||
|
||||
return {contactList: contacts, archivedCount: archivedCount};
|
||||
return {
|
||||
contactList: contacts,
|
||||
archivedCount: archivedCount
|
||||
};
|
||||
}
|
||||
|
||||
handleAction(action) {
|
||||
handleAction(action_ignored) {
|
||||
this.props.onShowArchive();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user