fix: EventsPage import + unused imports
All checks were successful
Deploy Admin Frontend / build-and-deploy (push) Successful in 8s

This commit is contained in:
WangDL 2026-05-22 22:32:04 +08:00
parent af76de4ff7
commit 13834af55d
2 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ const Login = lazy(() => import('./pages/Login'))
const KnowledgeBasesPage = lazy(() => import('./pages/KnowledgeBases')) const KnowledgeBasesPage = lazy(() => import('./pages/KnowledgeBases'))
const BillingPage = lazy(() => import('./pages/Billing')) const BillingPage = lazy(() => import('./pages/Billing'))
const GiteaEmbed = lazy(() => import('./pages/GiteaEmbed')) const GiteaEmbed = lazy(() => import('./pages/GiteaEmbed'))
const EventsPage = lazy(() => import("./pages/Events"))
const ServersPage = lazy(() => import("./pages/Servers")) const ServersPage = lazy(() => import("./pages/Servers"))
const AuditLogPage = lazy(() => import("./pages/AuditLog")) const AuditLogPage = lazy(() => import("./pages/AuditLog"))
const Dashboard = lazy(() => import('./pages/Dashboard')) const Dashboard = lazy(() => import('./pages/Dashboard'))

View File

@ -1,6 +1,6 @@
import { useState } from 'react' import { useState } from 'react'
import { useQuery, useQueryClient } from '@tanstack/react-query' 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 { ReloadOutlined, RetweetOutlined, CloudServerOutlined } from '@ant-design/icons'
import { getQueueOverview, getFailedJobs, retryJob } from '@/services/events-api' import { getQueueOverview, getFailedJobs, retryJob } from '@/services/events-api'