|
@@ -175,23 +175,4 @@ const SlackIntegration = (props) => {
|
|
|
<div key={botType} className="m-3">
|
|
<div key={botType} className="m-3">
|
|
|
<BotTypeCard
|
|
<BotTypeCard
|
|
|
botType={botType}
|
|
botType={botType}
|
|
|
- isActive={currentBotType === botType}
|
|
|
|
|
- handleBotTypeSelect={handleBotTypeSelect}
|
|
|
|
|
- />
|
|
|
|
|
- </div>
|
|
|
|
|
- );
|
|
|
|
|
- })}
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
- {settingsComponent}
|
|
|
|
|
- </>
|
|
|
|
|
- );
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
-const SlackIntegrationWrapper = withUnstatedContainers(SlackIntegration, [AppContainer]);
|
|
|
|
|
-
|
|
|
|
|
-SlackIntegration.propTypes = {
|
|
|
|
|
- appContainer: PropTypes.instanceOf(AppContainer).isRequired,
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
-export default SlackIntegrationWrapper;
|
|
|
|
|
|
|
+ isActive={currentBotType === botTy
|