diff --git a/frontend/src/components/notifications/DiscordConfigForm.tsx b/frontend/src/components/notifications/DiscordConfigForm.tsx index ebe0d6b..c6f85fe 100644 --- a/frontend/src/components/notifications/DiscordConfigForm.tsx +++ b/frontend/src/components/notifications/DiscordConfigForm.tsx @@ -8,7 +8,7 @@ interface DiscordConfigFormProps { /** * Discord 配置表单组件 */ -const DiscordConfigForm: React.FC = ({ form }) => { +const DiscordConfigForm: React.FC = ({ form: _form }) => { const { t } = useTranslation() return ( diff --git a/frontend/src/components/notifications/SlackConfigForm.tsx b/frontend/src/components/notifications/SlackConfigForm.tsx index 924ee62..3b05e94 100644 --- a/frontend/src/components/notifications/SlackConfigForm.tsx +++ b/frontend/src/components/notifications/SlackConfigForm.tsx @@ -8,7 +8,7 @@ interface SlackConfigFormProps { /** * Slack 配置表单组件 */ -const SlackConfigForm: React.FC = ({ form }) => { +const SlackConfigForm: React.FC = ({ form: _form }) => { const { t } = useTranslation() return ( diff --git a/frontend/src/components/notifications/TelegramConfigForm.tsx b/frontend/src/components/notifications/TelegramConfigForm.tsx index 3452ebe..f7541e7 100644 --- a/frontend/src/components/notifications/TelegramConfigForm.tsx +++ b/frontend/src/components/notifications/TelegramConfigForm.tsx @@ -1,5 +1,5 @@ import { useState } from 'react' -import { Form, Input, Alert, Button, Space, message } from 'antd' +import { Form, Input, Alert, Button, message } from 'antd' import { ReloadOutlined } from '@ant-design/icons' import { useTranslation } from 'react-i18next' import { apiService } from '../../services/api' diff --git a/frontend/src/pages/CopyTradingAdd.tsx b/frontend/src/pages/CopyTradingAdd.tsx index 7e1735b..011fc65 100644 --- a/frontend/src/pages/CopyTradingAdd.tsx +++ b/frontend/src/pages/CopyTradingAdd.tsx @@ -1,6 +1,6 @@ import { useEffect, useState } from 'react' import { useNavigate } from 'react-router-dom' -import { Card, Form, Button, Switch, message, Typography, Space, Radio, InputNumber, Modal, Table, Select, Divider } from 'antd' +import { Card, Form, Button, Switch, message, Typography, Space, Radio, InputNumber, Modal, Table, Select } from 'antd' import { ArrowLeftOutlined, SaveOutlined, FileTextOutlined } from '@ant-design/icons' import { apiService } from '../services/api' import { useAccountStore } from '../store/accountStore'