mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 18:25:30 +00:00
Turn ESLint rules back on for /modern
This commit is contained in:
parent
209f3c4ada
commit
5fd96ef40e
2 changed files with 2 additions and 4 deletions
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 />;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue