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