forked from p15670423/monkey
Hide more errors :(
This commit is contained in:
parent
95303309e5
commit
d403ea9ed2
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -346,7 +346,7 @@ class ConfigurePageComponent extends AuthComponent {
|
|||
throw Error()
|
||||
}
|
||||
return res;
|
||||
}).catch(error => {
|
||||
}).catch(() => {
|
||||
console.log('bad configuration');
|
||||
this.setState({lastAction: 'invalid_configuration'});
|
||||
}));
|
||||
|
|
Loading…
Reference in New Issue