mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-03 02:52:24 -06:00
cleanup, fix most eslint errors
This commit is contained in:
parent
c37542932c
commit
17ffab3be9
11 changed files with 5 additions and 148 deletions
|
|
@ -50,7 +50,7 @@ module.exports = function AdminSettings() {
|
|||
return dispatch(api.admin.fetchDomainBlocks());
|
||||
});
|
||||
}
|
||||
}, []);
|
||||
}, [dispatch, loadedBlockedInstances]);
|
||||
|
||||
if (!loadedBlockedInstances) {
|
||||
return (
|
||||
|
|
@ -315,7 +315,7 @@ function InstancePage({domain, Form}) {
|
|||
if (entry == undefined) {
|
||||
dispatch(api.admin.getEditableDomainBlock(domain));
|
||||
}
|
||||
}, []);
|
||||
}, [dispatch, domain, entry]);
|
||||
|
||||
const [errorMsg, setError] = React.useState("");
|
||||
const [statusMsg, setStatus] = React.useState("");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue