zahmis %!s(int64=4) %!d(string=hai) anos
pai
achega
37728e3eb3

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

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