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"
}
},
"settings": {
"react": {
"version": "detect"
}
},
"env": {
"browser": true,
"amd": true,
@ -34,7 +39,6 @@
],
"no-undef": 1,
"global-strict": 0,
"no-extra-semi": 1,
"no-underscore-dangle": 0,
"no-console": 0,
"no-unused-vars": 1,
@ -52,6 +56,8 @@
"no-useless-escape": 0,
"react/prop-types": 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()
}
return res;
}).catch(error => {
}).catch(() => {
console.log('bad configuration');
this.setState({lastAction: 'invalid_configuration'});
}));