zahmis 4 лет назад
Родитель
Сommit
556ddb3aa2

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

@@ -22,9 +22,7 @@ const OfficialBotSettings = (props) => {
   const [newProxyServerUri, setNewProxyServerUri] = useState();
 
   useEffect(() => {
-    if (proxyServerUri != null) {
-      setNewProxyServerUri(proxyServerUri);
-    }
+    setNewProxyServerUri(proxyServerUri);
   }, [proxyServerUri, slackAppIntegrations]);
 
   const addSlackAppIntegrationHandler = async() => {