kaori před 5 roky
rodič
revize
7e18248e4e

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

@@ -12,6 +12,7 @@ import CustomBotWithProxySettings from './CustomBotWithProxySettings';
 import ConfirmBotChangeModal from './ConfirmBotChangeModal';
 import BotTypeCard from './BotTypeCard';
 
+const botTypes = ['officialBot', 'customBotWithoutProxy', 'customBotWithProxy'];
 
 const SlackIntegration = (props) => {
   const { appContainer } = props;
@@ -105,8 +106,6 @@ const SlackIntegration = (props) => {
   }
 
 
-  const botTypes = ['officialBot', 'customBotWithoutProxy', 'customBotWithProxy'];
-
   return (
     <>
       <ConfirmBotChangeModal