chore: lint
This commit is contained in:
@@ -1,23 +1,23 @@
|
|||||||
import React, { useState, useEffect } from 'react';
|
import React, { useState, useEffect } from 'react';
|
||||||
import { styled } from '@mui/system';
|
import { styled } from '@mui/system';
|
||||||
import {
|
import {
|
||||||
Alert,
|
Alert,
|
||||||
AlertTitle,
|
AlertTitle,
|
||||||
TextField,
|
TextField,
|
||||||
Button,
|
Button,
|
||||||
Switch,
|
Switch,
|
||||||
FormControlLabel,
|
FormControlLabel,
|
||||||
Box,
|
Box,
|
||||||
Typography,
|
Typography,
|
||||||
Tabs,
|
Tabs,
|
||||||
Tab,
|
Tab,
|
||||||
Table,
|
Table,
|
||||||
TableContainer,
|
TableContainer,
|
||||||
TableHead,
|
TableHead,
|
||||||
TableRow,
|
TableRow,
|
||||||
TableBody,
|
TableBody,
|
||||||
TableCell,
|
TableCell,
|
||||||
Paper
|
Paper
|
||||||
} from '@mui/material';
|
} from '@mui/material';
|
||||||
import { sendProxyConfig, getProxyConfig, testProxyConfig, deleteProxyConfig } from '../../api/proxy';
|
import { sendProxyConfig, getProxyConfig, testProxyConfig, deleteProxyConfig } from '../../api/proxy';
|
||||||
import { useGlobalInfoStore } from '../../context/globalInfo';
|
import { useGlobalInfoStore } from '../../context/globalInfo';
|
||||||
@@ -162,10 +162,10 @@ const ProxyForm: React.FC = () => {
|
|||||||
<Typography variant="h6" gutterBottom component="div" style={{ marginTop: '20px' }}>
|
<Typography variant="h6" gutterBottom component="div" style={{ marginTop: '20px' }}>
|
||||||
{t('proxy.title')}
|
{t('proxy.title')}
|
||||||
</Typography>
|
</Typography>
|
||||||
<Tabs value={tabIndex} onChange={handleTabChange}>
|
<Tabs value={tabIndex} onChange={handleTabChange}>
|
||||||
<Tab label={t('proxy.tab_standard')} />
|
<Tab label={t('proxy.tab_standard')} />
|
||||||
<Tab label={t('proxy.tab_rotation')} />
|
<Tab label={t('proxy.tab_rotation')} />
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
||||||
{tabIndex === 0 && (
|
{tabIndex === 0 && (
|
||||||
isProxyConfigured ? (
|
isProxyConfigured ? (
|
||||||
@@ -260,7 +260,7 @@ const ProxyForm: React.FC = () => {
|
|||||||
{t('proxy.coming_soon')}
|
{t('proxy.coming_soon')}
|
||||||
</Typography>
|
</Typography>
|
||||||
|
|
||||||
{/* <Button variant="contained" color="primary" sx={{ marginTop: '20px',backgroundColor: '#ff00c3' }}>
|
{/* <Button variant="contained" color="primary" sx={{ marginTop: '20px',backgroundColor: '#ff00c3' }}>
|
||||||
<a style={{ color: 'white', textDecoration: 'none' }} href="https://forms.gle/hXjgqDvkEhPcaBW76">Join Maxun Cloud Waitlist</a> */}
|
<a style={{ color: 'white', textDecoration: 'none' }} href="https://forms.gle/hXjgqDvkEhPcaBW76">Join Maxun Cloud Waitlist</a> */}
|
||||||
|
|
||||||
<Button variant="contained" color="primary" sx={{ marginTop: '20px' }}>
|
<Button variant="contained" color="primary" sx={{ marginTop: '20px' }}>
|
||||||
|
|||||||
Reference in New Issue
Block a user