Turn ESLint rules back on for /modern

This commit is contained in:
Jordan Eldredge 2019-10-22 08:28:51 -07:00
parent 209f3c4ada
commit 5fd96ef40e
2 changed files with 2 additions and 4 deletions

View file

@ -1,8 +1,6 @@
{
"rules": {
// TODO: Turn these all back on
"camelcase": "off",
"react-hooks/rules-of-hooks": "off",
"react-hooks/exhaustive-deps": "off"
"camelcase": "off"
}
}

View file

@ -672,7 +672,7 @@ function Modern() {
const defaultSkinUrl = getSkinUrlFromQueryParams() || skinUrls[0];
setSkinUrl(defaultSkinUrl);
dispatch(Actions.gotSkinUrl(defaultSkinUrl, store));
}, [store]);
}, [store, dispatch]);
if (root == null) {
return <Loading />;
}