From 97fa0d95b4d26734ce17a489d5e82d7f0298bffb Mon Sep 17 00:00:00 2001
From: Reed Garmsen <rgarmsen2295@gmail.com>
Date: Wed, 2 Sep 2015 16:26:43 -0700
Subject: Replaced remaining calls of getInitialState

---
 web/react/components/user_settings_notifications.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'web/react/components/user_settings_notifications.jsx')

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() {
-- 
cgit v1.2.3-1-g7c22

