diff --git a/frontend/src/components/AccountImportForm.tsx b/frontend/src/components/AccountImportForm.tsx index a762001..0b2eac1 100644 --- a/frontend/src/components/AccountImportForm.tsx +++ b/frontend/src/components/AccountImportForm.tsx @@ -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 { diff --git a/frontend/src/pages/AccountImport.tsx b/frontend/src/pages/AccountImport.tsx index 4c0a93a..ff43514 100644 --- a/frontend/src/pages/AccountImport.tsx +++ b/frontend/src/pages/AccountImport.tsx @@ -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') }