zahmis 4 лет назад
Родитель
Сommit
3e0e7c4cea

+ 0 - 8
src/client/js/components/Admin/SlackIntegration/CustomBotWithoutProxySettings.jsx

@@ -17,14 +17,6 @@ const CustomBotWithoutProxySettings = (props) => {
   const [connectionMessage, setConnectionMessage] = useState(null);
   const [testChannel, setTestChannel] = useState('');
 
-  // const addLogs = (log) => {
-  //   const newLog = `${new Date()} - ${log.code}, ${log.message}\n\n`;
-  //   if (connectionMessage == null) {
-  //     return setConnectionMessage(newLog);
-  //   }
-  //   setConnectionMessage(`${newLog}${connectionMessage}`);
-  // };
-
   const testConnection = async() => {
     try {
       await appContainer.apiv3.post('/slack-integration-settings/without-proxy/test', { channel: testChannel });