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'