Steven Fukase пре 5 година
родитељ
комит
bbc7d2092a
1 измењених фајлова са 2 додато и 3 уклоњено
  1. 2 3
      src/client/js/components/Admin/SlackIntegration/SlackIntegration.jsx

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

@@ -28,7 +28,7 @@ const SlackIntegration = (props) => {
   const [isSetupSlackBot, setIsSetupSlackBot] = useState(false);
   const [isSetupSlackBot, setIsSetupSlackBot] = useState(false);
 
 
 
 
-  const fetchData = useCallback(async () => {
+  const fetchData = useCallback(async() => {
     try {
     try {
       const response = await appContainer.apiv3.get('slack-integration/');
       const response = await appContainer.apiv3.get('slack-integration/');
       const { currentBotType, customBotWithoutProxySettings } = response.data.slackBotSettingParams;
       const { currentBotType, customBotWithoutProxySettings } = response.data.slackBotSettingParams;
@@ -73,7 +73,7 @@ const SlackIntegration = (props) => {
     setSelectedBotType(null);
     setSelectedBotType(null);
   };
   };
 
 
-  const changeCurrentBotSettingsHandler = async () => {
+  const changeCurrentBotSettingsHandler = async() => {
     try {
     try {
       const res = await appContainer.apiv3.put('slack-integration/custom-bot-without-proxy', {
       const res = await appContainer.apiv3.put('slack-integration/custom-bot-without-proxy', {
         slackSigningSecret: '',
         slackSigningSecret: '',
@@ -122,7 +122,6 @@ const SlackIntegration = (props) => {
       break;
       break;
   }
   }
 
 
-
   return (
   return (
     <>
     <>
       <ConfirmBotChangeModal
       <ConfirmBotChangeModal