diff options
author | Corey Hulen <corey@hulen.com> | 2015-09-02 16:57:05 -0700 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-09-02 16:57:05 -0700 |
commit | 2c06ec89feb783d10fa10c77ab4b192522e35f3d (patch) | |
tree | e4ebd6b5ea7358416394848da0e4becb7dda6cd3 /web/react/components/user_settings_notifications.jsx | |
parent | f11f703158ae76f5cd3bec1f5c6226196af84c91 (diff) | |
parent | 7b70892c75aec62a7b4fa326b08fbda26d4e3262 (diff) | |
download | chat-2c06ec89feb783d10fa10c77ab4b192522e35f3d.tar.gz chat-2c06ec89feb783d10fa10c77ab4b192522e35f3d.tar.bz2 chat-2c06ec89feb783d10fa10c77ab4b192522e35f3d.zip |
Merge pull request #570 from rgarmsen2295/fix-initial-state-calls
Refactor remaining uses of getInitialState and componentWillMount
Diffstat (limited to 'web/react/components/user_settings_notifications.jsx')
-rw-r--r-- | web/react/components/user_settings_notifications.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/user_settings_notifications.jsx b/web/react/components/user_settings_notifications.jsx index 84a7b62c7..5fe6bbb4e 100644 --- a/web/react/components/user_settings_notifications.jsx +++ b/web/react/components/user_settings_notifications.jsx @@ -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() { |