@@ -33,5 +33,6 @@ module.exports = {
],
// eslint-plugin-import rules
'import/no-unresolved': [2, { ignore: ['^@'] }], // ignore @alias/..., @commons/..., ...
+ "react-hooks/exhaustive-deps": 'warn', // useEffect() second argument error fix
},
};
@@ -30,7 +30,7 @@ const CustomBotNonProxySettings = (props) => {
}
fetchData();
- // eslint-disable-next-line react-hooks/exhaustive-deps
+
}, []);
async function updateHandler() {