Преглед на файлове

Merge pull request #3819 from weseek/fix/errors-occured-at-unnatural-times

fix
Yuki Takei преди 5 години
родител
ревизия
efb2954402
променени са 1 файла, в които са добавени 0 реда и са изтрити 2 реда
  1. 0 2
      src/client/js/components/Admin/SlackIntegration/CustomBotWithoutProxySettings.jsx

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

@@ -27,8 +27,6 @@ const CustomBotWithoutProxySettings = (props) => {
   };
 
   const testConnection = async() => {
-    setConnectionErrorCode(null);
-    setConnectionMessage(null);
     try {
       await appContainer.apiv3.post('/slack-integration-settings/without-proxy/test', { channel: testChannel });
       setConnectionMessage('Send the message to slack work space.');