Browse Source

remove currentBotType

Shun Miyazawa 5 years ago
parent
commit
a7e93e0de2

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

@@ -56,7 +56,6 @@ const CustomBotIntegrationCard = (props) => {
 };
 
 CustomBotIntegrationCard.propTypes = {
-  currentBotType: PropTypes.string,
   siteName: PropTypes.string,
   slackWSNameInWithoutProxy: PropTypes.string,
   isSetupSlackBot: PropTypes.bool,

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

@@ -114,7 +114,6 @@ const SlackIntegration = (props) => {
           onSetSlackBotToken={setSlackBotToken}
           onSetIsSendTestMessage={setIsSendTestMessage}
           onSetIsRegisterSlackCredentials={setIsRegisterSlackCredentials}
-          currentBotType={currentBotType}
         />
       );
       break;