fix: 修复前端编译错误

- 移除 AccountImportForm 中未使用的 message 导入
- 移除 AccountImport 中 handleSuccess 未使用的 accountId 参数
This commit is contained in:
WrBug
2025-12-23 01:08:54 +08:00
parent c20e0138df
commit 7bc059ec34
2 changed files with 2 additions and 2 deletions
@@ -1,5 +1,5 @@
import { useState } from 'react'
import { Form, Input, Button, Radio, Space, Alert, message } from 'antd'
import { Form, Input, Button, Radio, Space, Alert } from 'antd'
import { useTranslation } from 'react-i18next'
import { useAccountStore } from '../store/accountStore'
import {
+1 -1
View File
@@ -12,7 +12,7 @@ const AccountImport: React.FC = () => {
const navigate = useNavigate()
const [form] = Form.useForm()
const handleSuccess = async (accountId?: number) => {
const handleSuccess = async () => {
message.success(t('accountImport.importSuccess'))
navigate('/accounts')
}