diff --git a/src/client/components/monitor/MonitorList.tsx b/src/client/components/monitor/MonitorList.tsx
index f82f2d0..5a5344d 100644
--- a/src/client/components/monitor/MonitorList.tsx
+++ b/src/client/components/monitor/MonitorList.tsx
@@ -5,12 +5,14 @@ import { AppRouterOutput, trpc } from '../../api/trpc';
import { useCurrentWorkspaceId } from '../../store/user';
import { NoWorkspaceTip } from '../NoWorkspaceTip';
import { MonitorHealthBar } from './MonitorHealthBar';
+import { Loading } from '../Loading';
+import { Empty } from 'antd';
type MonitorType = AppRouterOutput['monitor']['all'][number];
export const MonitorList: React.FC = React.memo(() => {
const workspaceId = useCurrentWorkspaceId();
- const { data: monitors = [] } = trpc.monitor.all.useQuery({
+ const { data: monitors = [], isLoading } = trpc.monitor.all.useQuery({
workspaceId,
});
const initMonitorId = useMemo(() => {
@@ -35,8 +37,14 @@ export const MonitorList: React.FC = React.memo(() => {
return