diff --git a/public/locales/en.json b/public/locales/en.json index ee2e2e92..ae535eab 100644 --- a/public/locales/en.json +++ b/public/locales/en.json @@ -113,7 +113,7 @@ "coming_soon": "Coming Soon - In Open Source (Basic Rotation) & Cloud (Advanced Rotation). If you don't want to manage the infrastructure, join our cloud waitlist to get early access.", "join_waitlist": "Join Maxun Cloud Waitlist", "alert": { - "title": "If your proxy requires a username and password, always provide them separately from the proxy URL.", + "title": "If your proxy requires a username and password, always provide them separate from the proxy URL.", "right_way": "The right way", "wrong_way": "The wrong way", "proxy_url": "Proxy URL:", diff --git a/src/components/proxy/ProxyForm.tsx b/src/components/proxy/ProxyForm.tsx index 36dfa0b6..30fdfcb4 100644 --- a/src/components/proxy/ProxyForm.tsx +++ b/src/components/proxy/ProxyForm.tsx @@ -156,18 +156,14 @@ const ProxyForm: React.FC = () => { fetchProxyConfig(); }, []); - const theme = useThemeMode(); - const isDarkMode = theme.darkMode; - return ( <> {t('proxy.title')} - + - {tabIndex === 0 && ( @@ -197,7 +193,7 @@ const ProxyForm: React.FC = () => { ) : ( - + { fullWidth required error={!!errors.server_url} - helperText={errors.server_url || t('proxy.server_url_helper')} + helperText={ + + {errors.server_url || t('proxy.server_url_helper')} + + } /> @@ -256,26 +256,9 @@ const ProxyForm: React.FC = () => { ))} - {tabIndex === 1 && ( - - <> - - {t('proxy.coming_soon')} - - - {/* - - - )} - + {t('proxy.alert.title')}
{t('proxy.alert.right_way')}