kaori 5 سال پیش
والد
کامیت
7e18248e4e
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      src/client/js/components/Admin/SlackIntegration/SlackIntegration.jsx

+ 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