浏览代码

Disabled exhaustive-deps for ESLint

Steven Fukase 5 年之前
父节点
当前提交
b11709536b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/client/js/components/Admin/SlackIntegration/CustomBotNonProxySettings.jsx

+ 1 - 0
src/client/js/components/Admin/SlackIntegration/CustomBotNonProxySettings.jsx

@@ -30,6 +30,7 @@ const CustomBotNonProxySettings = (props) => {
       }
     }
     fetchData();
+  // eslint-disable-next-line react-hooks/exhaustive-deps
   }, []);
 
   async function updateHandler() {