Replaced remaining calls of getInitialState

Этот коммит содержится в:
Reed Garmsen
2015-09-02 16:26:43 -07:00
родитель 83788409a2
Коммит 97fa0d95b4
3 изменённых файлов: 23 добавлений и 13 удалений

Просмотреть файл

@@ -142,7 +142,7 @@ export default class NotificationsTab extends React.Component {
this.props.updateTab('general');
}
updateSection(section) {
this.setState(this.getInitialState());
this.setState(getNotificationsStateFromStores());
this.props.updateSection(section);
}
componentDidMount() {