diff options
author | enahum <nahumhbl@gmail.com> | 2016-11-28 12:38:33 -0300 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2016-11-28 10:38:33 -0500 |
commit | 7315d69474b6fc8fd1d208224195a75455f1665e (patch) | |
tree | c5c94d524116304ff329bc346c4839d0a412c396 /webapp/components/user_settings | |
parent | 8d9768dad38701f21602e33c28091a311a63e170 (diff) | |
download | chat-7315d69474b6fc8fd1d208224195a75455f1665e.tar.gz chat-7315d69474b6fc8fd1d208224195a75455f1665e.tar.bz2 chat-7315d69474b6fc8fd1d208224195a75455f1665e.zip |
Fix some react natives warning messages (#4653)
Diffstat (limited to 'webapp/components/user_settings')
-rw-r--r-- | webapp/components/user_settings/user_settings_general.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/components/user_settings/user_settings_general.jsx b/webapp/components/user_settings/user_settings_general.jsx index 805650608..b9db1389f 100644 --- a/webapp/components/user_settings/user_settings_general.jsx +++ b/webapp/components/user_settings/user_settings_general.jsx @@ -96,7 +96,6 @@ class UserSettingsGeneralTab extends React.Component { this.updateSection = this.updateSection.bind(this); this.state = this.setupInitialState(props); - this.setState({maxFileSize: global.window.mm_config.MaxFileSize}); } submitUsername(e) { @@ -307,7 +306,8 @@ class UserSettingsGeneralTab extends React.Component { confirmEmail: '', picture: null, loadingPicture: false, - emailChangeInProgress: false + emailChangeInProgress: false, + maxFileSize: global.window.mm_config.MaxFileSize }; } |