Просмотр исходного кода

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

fix
Yuki Takei 4 лет назад
Родитель
Сommit
efb2954402

+ 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.');