Hide more errors :(

This commit is contained in:
Ace Pace 2020-05-01 12:19:18 +03:00
parent 95303309e5
commit d403ea9ed2
2 changed files with 9 additions and 3 deletions

View File

@ -19,6 +19,11 @@
"configFile": ".babelrc" "configFile": ".babelrc"
} }
}, },
"settings": {
"react": {
"version": "detect"
}
},
"env": { "env": {
"browser": true, "browser": true,
"amd": true, "amd": true,
@ -34,7 +39,6 @@
], ],
"no-undef": 1, "no-undef": 1,
"global-strict": 0, "global-strict": 0,
"no-extra-semi": 1,
"no-underscore-dangle": 0, "no-underscore-dangle": 0,
"no-console": 0, "no-console": 0,
"no-unused-vars": 1, "no-unused-vars": 1,
@ -52,6 +56,8 @@
"no-useless-escape": 0, "no-useless-escape": 0,
"react/prop-types": 0, "react/prop-types": 0,
"react/no-string-refs": 0, "react/no-string-refs": 0,
"react/no-unescaped-entities": 0 "react/no-unescaped-entities": 0,
"react/jsx-key": 0,
"react/display-name": 1
} }
} }

View File

@ -346,7 +346,7 @@ class ConfigurePageComponent extends AuthComponent {
throw Error() throw Error()
} }
return res; return res;
}).catch(error => { }).catch(() => {
console.log('bad configuration'); console.log('bad configuration');
this.setState({lastAction: 'invalid_configuration'}); this.setState({lastAction: 'invalid_configuration'});
})); }));