Просмотр исходного кода

Added line breaks for readability

Steven Fukase 4 лет назад
Родитель
Сommit
8c0ed558ae
1 измененных файлов с 12 добавлено и 2 удалено
  1. 12 2
      src/client/js/components/Admin/SlackIntegration/SlackIntegration.jsx

+ 12 - 2
src/client/js/components/Admin/SlackIntegration/SlackIntegration.jsx

@@ -124,7 +124,12 @@ const SlackIntegration = (props) => {
 
   switch (currentBotType) {
     case 'officialBot':
-      settingsComponent = <OfficialBotSettings slackAppIntegrations={slackAppIntegrations} proxyServerUri={proxyServerUri} />;
+      settingsComponent = (
+        <OfficialBotSettings
+          slackAppIntegrations={slackAppIntegrations}
+          proxyServerUri={proxyServerUri}
+        />
+      );
       break;
     case 'customBotWithoutProxy':
       settingsComponent = (
@@ -145,7 +150,12 @@ const SlackIntegration = (props) => {
       );
       break;
     case 'customBotWithProxy':
-      settingsComponent = <CustomBotWithProxySettings slackAppIntegrations={slackAppIntegrations} proxyServerUri={proxyServerUri} />;
+      settingsComponent = (
+        <CustomBotWithProxySettings
+          slackAppIntegrations={slackAppIntegrations}
+          proxyServerUri={proxyServerUri}
+        />
+      );
       break;
   }