import { X } from 'lucide-react' export default function EditAccountModal({ show, t, editingAccount, editAccount, setEditAccount, loading, onClose, onSave, }) { if (!show || !editingAccount) { return null } return (

{t('accountManager.modalEditAccountTitle')}

{t('accountManager.editAccountHint')}

{t('accountManager.accountIdentifierLabel')}
{editingAccount.identifier}
setEditAccount({ ...editAccount, name: e.target.value })} autoFocus />
setEditAccount({ ...editAccount, remark: e.target.value })} />
) }