mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-06 05:04:35 +08:00
fixes hound alerts
This commit is contained in:
parent
88928be2d3
commit
8416ccc5c2
2 changed files with 3 additions and 2 deletions
|
@ -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",
|
||||||
|
|
|
@ -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));
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue