chore: cleanup
This commit is contained in:
@@ -88,7 +88,6 @@ const ProxyForm: React.FC = () => {
|
|||||||
setTabIndex(newValue);
|
setTabIndex(newValue);
|
||||||
};
|
};
|
||||||
|
|
||||||
// test proxy config
|
|
||||||
const testProxy = async () => {
|
const testProxy = async () => {
|
||||||
await testProxyConfig().then((response) => {
|
await testProxyConfig().then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
@@ -99,7 +98,6 @@ const ProxyForm: React.FC = () => {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
// get proxy config
|
|
||||||
const fetchProxyConfig = async () => {
|
const fetchProxyConfig = async () => {
|
||||||
await getProxyConfig().then((response) => {
|
await getProxyConfig().then((response) => {
|
||||||
if (response.proxy_url) {
|
if (response.proxy_url) {
|
||||||
|
|||||||
Reference in New Issue
Block a user