fixes hound alerts

This commit is contained in:
zmagod 2017-09-19 13:33:43 +02:00
parent 88928be2d3
commit 8416ccc5c2
2 changed files with 3 additions and 2 deletions

View file

@ -17,7 +17,8 @@
} }
}, },
"rules": { "rules": {
"import/no-unresolved": [2, {"commonjs": true, "amd": true}], "import/extensions": "off",
"import/no-unresolved": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }], "react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"spaced-comment": [ "spaced-comment": [
"error", "error",

View file

@ -108,7 +108,7 @@ export function changeEmail(email) {
.then(({ data }) => { .then(({ data }) => {
dispatch(saveEmail(data)); dispatch(saveEmail(data));
}) })
.catch(err => console.log(err));app .catch(err => console.log(err));
}; };
} }