From 13834af55ddd113e634b5f64c1aa5c50f7897023 Mon Sep 17 00:00:00 2001 From: WangDL Date: Fri, 22 May 2026 22:32:04 +0800 Subject: [PATCH] fix: EventsPage import + unused imports --- src/App.tsx | 1 + src/pages/Events.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index c0af787..341b4d8 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -13,6 +13,7 @@ const Login = lazy(() => import('./pages/Login')) const KnowledgeBasesPage = lazy(() => import('./pages/KnowledgeBases')) const BillingPage = lazy(() => import('./pages/Billing')) const GiteaEmbed = lazy(() => import('./pages/GiteaEmbed')) +const EventsPage = lazy(() => import("./pages/Events")) const ServersPage = lazy(() => import("./pages/Servers")) const AuditLogPage = lazy(() => import("./pages/AuditLog")) const Dashboard = lazy(() => import('./pages/Dashboard')) diff --git a/src/pages/Events.tsx b/src/pages/Events.tsx index 1a92f34..851e7c5 100644 --- a/src/pages/Events.tsx +++ b/src/pages/Events.tsx @@ -1,6 +1,6 @@ import { useState } from 'react' import { useQuery, useQueryClient } from '@tanstack/react-query' -import { Table, Tag, Button, Typography, App, Space, Badge } from 'antd' +import { Table, Button, Typography, App, Badge } from 'antd' import { ReloadOutlined, RetweetOutlined, CloudServerOutlined } from '@ant-design/icons' import { getQueueOverview, getFailedJobs, retryJob } from '@/services/events-api'