From 0114e9896d8c6c65b6e884f8053649657baf48c8 Mon Sep 17 00:00:00 2001 From: hailin Date: Wed, 25 Feb 2026 23:13:40 -0800 Subject: [PATCH] fix(admin-client): remove unused imports in llm-gateway components Co-Authored-By: Claude Opus 4.6 --- .../llm-gateway/presentation/components/ApiKeysTab.tsx | 4 ++-- .../llm-gateway/presentation/components/InjectionRulesTab.tsx | 2 +- .../llm-gateway/presentation/pages/LLMGatewayPage.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/admin-client/src/features/llm-gateway/presentation/components/ApiKeysTab.tsx b/packages/admin-client/src/features/llm-gateway/presentation/components/ApiKeysTab.tsx index 062bc17..0bd0b98 100644 --- a/packages/admin-client/src/features/llm-gateway/presentation/components/ApiKeysTab.tsx +++ b/packages/admin-client/src/features/llm-gateway/presentation/components/ApiKeysTab.tsx @@ -1,6 +1,6 @@ import { useState } from 'react'; -import { Table, Button, Modal, Form, Input, InputNumber, Switch, Space, Tag, Popconfirm, Typography, message as antMsg } from 'antd'; -import { PlusOutlined, CopyOutlined } from '@ant-design/icons'; +import { Table, Button, Modal, Form, Input, InputNumber, Switch, Popconfirm, Typography } from 'antd'; +import { PlusOutlined } from '@ant-design/icons'; import { useApiKeys, useCreateKey, useDeleteKey, useToggleKey } from '../../application/useLLMGateway'; import type { GatewayApiKey } from '../../infrastructure/llm-gateway.api'; diff --git a/packages/admin-client/src/features/llm-gateway/presentation/components/InjectionRulesTab.tsx b/packages/admin-client/src/features/llm-gateway/presentation/components/InjectionRulesTab.tsx index 3a5622c..333dc58 100644 --- a/packages/admin-client/src/features/llm-gateway/presentation/components/InjectionRulesTab.tsx +++ b/packages/admin-client/src/features/llm-gateway/presentation/components/InjectionRulesTab.tsx @@ -1,5 +1,5 @@ import { useState } from 'react'; -import { Table, Button, Modal, Form, Input, Select, Switch, Space, Popconfirm, Tag } from 'antd'; +import { Table, Button, Modal, Form, Input, Select, Switch, Popconfirm, Tag } from 'antd'; import { PlusOutlined } from '@ant-design/icons'; import { useInjectionRules, useCreateInjectionRule, useDeleteInjectionRule, useToggleInjectionRule } from '../../application/useLLMGateway'; import type { InjectionRule } from '../../infrastructure/llm-gateway.api'; diff --git a/packages/admin-client/src/features/llm-gateway/presentation/pages/LLMGatewayPage.tsx b/packages/admin-client/src/features/llm-gateway/presentation/pages/LLMGatewayPage.tsx index ca49cdd..9eec791 100644 --- a/packages/admin-client/src/features/llm-gateway/presentation/pages/LLMGatewayPage.tsx +++ b/packages/admin-client/src/features/llm-gateway/presentation/pages/LLMGatewayPage.tsx @@ -1,5 +1,5 @@ import { useState } from 'react'; -import { Typography, Tabs, Card, Row, Col, Statistic, Spin } from 'antd'; +import { Typography, Tabs, Card, Row, Col, Statistic } from 'antd'; import { KeyOutlined, EditOutlined, SafetyOutlined, BarChartOutlined, FileSearchOutlined } from '@ant-design/icons'; import { useDashboard } from '../../application/useLLMGateway'; import { ApiKeysTab } from '../components/ApiKeysTab';