Browse Source

delete if

zahmis 4 years ago
parent
commit
9666b71053

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

@@ -21,9 +21,7 @@ const CustomBotWithProxySettings = (props) => {
   const { t } = useTranslation();
   const { t } = useTranslation();
 
 
   useEffect(() => {
   useEffect(() => {
-    if (proxyServerUri != null) {
-      setNewProxyServerUri(proxyServerUri);
-    }
+    setNewProxyServerUri(proxyServerUri);
   }, [proxyServerUri]);
   }, [proxyServerUri]);
 
 
   const addSlackAppIntegrationHandler = async() => {
   const addSlackAppIntegrationHandler = async() => {