From e2daa425fac3c976e21ed048b13424a2dc437a20 Mon Sep 17 00:00:00 2001
From: Saturnino Abril <saturnino.abril@gmail.com>
Date: Wed, 28 Jun 2017 01:27:31 +0800
Subject: fix JS errors in saving preferences - for user's display (including
 custom theme vector) and advanced settings (#6764)

---
 webapp/components/user_settings/user_settings_advanced.jsx | 3 ---
 1 file changed, 3 deletions(-)

(limited to 'webapp/components/user_settings/user_settings_advanced.jsx')

diff --git a/webapp/components/user_settings/user_settings_advanced.jsx b/webapp/components/user_settings/user_settings_advanced.jsx
index 1e2ae2386..cc5824589 100644
--- a/webapp/components/user_settings/user_settings_advanced.jsx
+++ b/webapp/components/user_settings/user_settings_advanced.jsx
@@ -137,9 +137,6 @@ export default class AdvancedSettingsDisplay extends React.Component {
             preferences,
             () => {
                 this.updateSection('');
-            },
-            (err) => {
-                this.setState({serverError: err.message});
             }
         );
     }
-- 
cgit v1.2.3-1-g7c22

